{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "第04课：了解数据必备的文本可视化技巧"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "1）基于文本内容的可视化。\n",
    "\n",
    "基于文本内容的可视化研究包括基于词频的可视化和基于词汇分布的可视化，常用的有词云、分布图和 Document Cards 等。\n",
    "\n",
    "（2）基于文本关系的可视化。\n",
    "\n",
    "基于文本关系的可视化研究文本内外关系，帮助人们理解文本内容和发现规律。常用的可视化形式有树状图、节点连接的网络图、力导向图、叠式图和 Word Tree 等。\n",
    "\n",
    "（3）基于多层面信息的可视化\n",
    "\n",
    "基于多层面信息的可视化主要研究如何结合信息的多个方面帮助用户从更深层次理解文本数据，发现其内在规律。其中，包含时间信息和地理坐标的文本可视化近年来受到越来越多的关注。常用的有地理热力图、ThemeRiver、SparkClouds、TextFlow 和基于矩阵视图的情感分析可视化等。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/ipykernel_launcher.py:15: FutureWarning: using a dict on a Series for aggregation\n",
      "is deprecated and will be removed in a future version\n",
      "  from ipykernel import kernelapp as app\n"
     ]
    }
   ],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "from hiveplot import HivePlot\n",
    "import matplotlib.pyplot as plt \n",
    "%matplotlib inline\n",
    "import json\n",
    "from urllib.request import urlopen, quote\n",
    "import requests,csv\n",
    "import pandas as pd #导入这些库后边都要用到\n",
    "\n",
    "dir = \"../data/04/\"\n",
    "columns = ['std_id','sex','year','colloge','city']\n",
    "df = pd.read_csv(dir + \"nd_student_info.csv\",sep='\\t',names=columns)\n",
    "#分组\n",
    "cities_stat=df.groupby(by=['city'])['city'].agg({\"count\":np.size}) \n",
    "#排序\n",
    "cities_stat=cities_stat.reset_index().sort_values(by=[\"count\"],ascending=False)  "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "893"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(cities_stat)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#经纬度转换参考https://www.jianshu.com/p/773ff5f08a2c\n",
    "\n",
    "def getlnglat(address):\n",
    "    url = 'http://api.map.baidu.com/geocoder/v2/'\n",
    "    output = 'json'\n",
    "    ak = 'sqGDDvCDEZPSz24bt4b0BpKLnMk1dv6M'\n",
    "    add = quote(address) #由于本文城市变量为中文，为防止乱码，先用quote进行编码\n",
    "    uri = url + '?' + 'address=' + add  + '&output=' + output + '&ak=' + ak\n",
    "    req = urlopen(uri)\n",
    "    res = req.read().decode() #将其他编码的字符串解码成unicode\n",
    "    temp = json.loads(res)  #对json数据进行解析\n",
    "    return temp"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "116.39564503787867\n",
      "39.92998577808024\n",
      "{'city': '北京', 'lng': 116.39564503787867, 'lat': 39.92998577808024, 'count': 840}\n",
      "104.06792346330406\n",
      "30.679942845419564\n",
      "{'city': '成都', 'lng': 104.06792346330406, 'lat': 30.679942845419564, 'count': 291}\n",
      "106.53063501341296\n",
      "29.54460610888615\n",
      "{'city': '重庆', 'lng': 106.53063501341296, 'lat': 29.54460610888615, 'count': 261}\n",
      "102.71460113878045\n",
      "25.049153100453157\n",
      "{'city': '昆明', 'lng': 102.71460113878045, 'lat': 25.049153100453157, 'count': 238}\n",
      "119.14263382297052\n",
      "36.71611487305138\n",
      "{'city': '潍坊', 'lng': 119.14263382297052, 'lat': 36.71611487305138, 'count': 214}\n",
      "117.02496706629023\n",
      "36.68278472716141\n",
      "{'city': '济南', 'lng': 117.02496706629023, 'lat': 36.68278472716141, 'count': 212}\n",
      "117.21081309155257\n",
      "39.143929903310074\n",
      "{'city': '天津', 'lng': 117.21081309155257, 'lat': 39.143929903310074, 'count': 211}\n",
      "125.15014857862096\n",
      "42.98636494637781\n",
      "{'city': '西安', 'lng': 125.15014857862096, 'lat': 42.98636494637781, 'count': 193}\n",
      "87.56498774111579\n",
      "43.84038034721766\n",
      "{'city': '乌鲁木齐', 'lng': 87.56498774111579, 'lat': 43.84038034721766, 'count': 187}\n",
      "118.05913427786938\n",
      "36.80468485421204\n",
      "{'city': '淄博', 'lng': 118.05913427786938, 'lat': 36.80468485421204, 'count': 175}\n",
      "113.64964384986449\n",
      "34.756610064140254\n",
      "{'city': '郑州', 'lng': 113.64964384986449, 'lat': 34.756610064140254, 'count': 174}\n",
      "103.8233054407292\n",
      "36.06422552504259\n",
      "{'city': '兰州', 'lng': 103.8233054407292, 'lat': 36.06422552504259, 'count': 170}\n",
      "113.30764967515182\n",
      "23.12004910207623\n",
      "{'city': '广州', 'lng': 113.30764967515182, 'lat': 23.12004910207623, 'count': 151}\n",
      "126.65771685544611\n",
      "45.7732246332393\n",
      "{'city': '哈尔滨', 'lng': 126.65771685544611, 'lat': 45.7732246332393, 'count': 149}\n",
      "112.5508635890553\n",
      "37.89027705396754\n",
      "{'city': '太原', 'lng': 112.5508635890553, 'lat': 37.89027705396754, 'count': 148}\n",
      "121.30955503008511\n",
      "37.53656156285964\n",
      "{'city': '烟台', 'lng': 121.30955503008511, 'lat': 37.53656156285964, 'count': 146}\n",
      "120.38442818368189\n",
      "36.10521490127382\n",
      "{'city': '青岛', 'lng': 120.38442818368189, 'lat': 36.10521490127382, 'count': 143}\n",
      "112.9793527876505\n",
      "28.21347823085322\n",
      "{'city': '长沙', 'lng': 112.9793527876505, 'lat': 28.21347823085322, 'count': 134}\n",
      "108.29723355586638\n",
      "22.80649293560261\n",
      "{'city': '南宁', 'lng': 108.29723355586638, 'lat': 22.80649293560261, 'count': 123}\n",
      "106.7091770961758\n",
      "26.62990674144093\n",
      "{'city': '贵阳', 'lng': 106.7091770961758, 'lat': 26.62990674144093, 'count': 114}\n",
      "114.52208184420766\n",
      "38.048958314615454\n",
      "{'city': '石家庄', 'lng': 114.52208184420766, 'lat': 38.048958314615454, 'count': 113}\n",
      "117.28269909168304\n",
      "31.86694226068694\n",
      "{'city': '合肥', 'lng': 117.28269909168304, 'lat': 31.86694226068694, 'count': 107}\n",
      "117.08941491713698\n",
      "36.18807775894815\n",
      "{'city': '泰安', 'lng': 117.08941491713698, 'lat': 36.18807775894815, 'count': 103}\n",
      "115.89352754583604\n",
      "28.689578000141147\n",
      "{'city': '南昌', 'lng': 115.89352754583604, 'lat': 28.689578000141147, 'count': 95}\n",
      "120.2193754157201\n",
      "30.259244461536102\n",
      "{'city': '杭州', 'lng': 120.2193754157201, 'lat': 30.259244461536102, 'count': 81}\n",
      "111.6603505200542\n",
      "40.828318873081585\n",
      "{'city': '呼和浩特', 'lng': 111.6603505200542, 'lat': 40.828318873081585, 'count': 77}\n",
      "118.61264305187912\n",
      "37.408666288041196\n",
      "{'city': '东营', 'lng': 118.61264305187912, 'lat': 37.408666288041196, 'count': 75}\n",
      "118.34076823661057\n",
      "35.07240907439113\n",
      "{'city': '临沂', 'lng': 118.34076823661057, 'lat': 35.07240907439113, 'count': 73}\n",
      "114.31620010268132\n",
      "30.58108412692075\n",
      "{'city': '武汉', 'lng': 114.31620010268132, 'lat': 30.58108412692075, 'count': 73}\n",
      "125.31364242720072\n",
      "43.89833760709784\n",
      "{'city': '长春', 'lng': 125.31364242720072, 'lat': 43.89833760709784, 'count': 67}\n",
      "121.59347778143518\n",
      "38.94870993830429\n",
      "{'city': '大连', 'lng': 121.59347778143518, 'lat': 38.94870993830429, 'count': 66}\n",
      "109.84623853249181\n",
      "40.64711942570857\n",
      "{'city': '包头', 'lng': 109.84623853249181, 'lat': 40.64711942570857, 'count': 64}\n",
      "91.11189089598402\n",
      "29.662557062056536\n",
      "{'city': '拉萨', 'lng': 91.11189089598402, 'lat': 29.662557062056536, 'count': 63}\n",
      "114.0854909934702\n",
      "32.128582307511664\n",
      "{'city': '信阳', 'lng': 114.0854909934702, 'lat': 32.128582307511664, 'count': 59}\n",
      "123.43279092160505\n",
      "41.808644783515746\n",
      "{'city': '沈阳', 'lng': 123.43279092160505, 'lat': 41.808644783515746, 'count': 57}\n",
      "118.9307611921676\n",
      "42.297112320317325\n",
      "{'city': '赤峰', 'lng': 118.9307611921676, 'lat': 42.297112320317325, 'count': 56}\n",
      "115.68622865290865\n",
      "37.74692904585666\n",
      "{'city': '衡水', 'lng': 115.68622865290865, 'lat': 37.74692904585666, 'count': 55}\n",
      "122.09395836580605\n",
      "37.52878708125143\n",
      "{'city': '威海', 'lng': 122.09395836580605, 'lat': 37.52878708125143, 'count': 54}\n",
      "116.32816136356094\n",
      "37.46082592630501\n",
      "{'city': '德州', 'lng': 116.32816136356094, 'lat': 37.46082592630501, 'count': 54}\n",
      "117.03178985127641\n",
      "35.61576056625757\n",
      "{'city': '曲阜', 'lng': 117.03178985127641, 'lat': 35.61576056625757, 'count': 53}\n",
      "121.48789948569473\n",
      "31.24916171001514\n",
      "{'city': '上海', 'lng': 121.48789948569473, 'lat': 31.24916171001514, 'count': 52}\n",
      "106.2064786078384\n",
      "38.50262101187604\n",
      "{'city': '银川', 'lng': 106.2064786078384, 'lat': 38.50262101187604, 'count': 48}\n",
      "115.82093225904637\n",
      "32.90121133056961\n",
      "{'city': '阜阳', 'lng': 115.82093225904637, 'lat': 32.90121133056961, 'count': 48}\n",
      "114.04915354745555\n",
      "32.98315815409348\n",
      "{'city': '驻马店', 'lng': 114.04915354745555, 'lat': 32.98315815409348, 'count': 48}\n",
      "111.31098109196083\n",
      "30.73275781802591\n",
      "{'city': '宜昌', 'lng': 111.31098109196083, 'lat': 30.73275781802591, 'count': 47}\n",
      "118.10388604566381\n",
      "24.489230612469232\n",
      "{'city': '厦门', 'lng': 118.10388604566381, 'lat': 24.489230612469232, 'count': 47}\n",
      "119.33022110712668\n",
      "26.04712549657293\n",
      "{'city': '福州', 'lng': 119.33022110712668, 'lat': 26.04712549657293, 'count': 46}\n",
      "118.77807440802562\n",
      "32.05723550180587\n",
      "{'city': '南京', 'lng': 118.77807440802562, 'lat': 32.05723550180587, 'count': 45}\n",
      "115.46335977452752\n",
      "35.26244049607468\n",
      "{'city': '菏泽', 'lng': 115.46335977452752, 'lat': 35.26244049607468, 'count': 44}\n",
      "112.5428419005123\n",
      "33.0114195691165\n",
      "{'city': '南阳', 'lng': 112.5428419005123, 'lat': 33.0114195691165, 'count': 44}\n",
      "101.76792098980276\n",
      "36.640738611957964\n",
      "{'city': '西宁', 'lng': 101.76792098980276, 'lat': 36.640738611957964, 'count': 42}\n",
      "114.4826939323422\n",
      "36.60930792847117\n",
      "{'city': '邯郸', 'lng': 114.4826939323422, 'lat': 36.60930792847117, 'count': 41}\n",
      "119.50717994299387\n",
      "35.42022519314436\n",
      "{'city': '日照', 'lng': 119.50717994299387, 'lat': 35.42022519314436, 'count': 41}\n",
      "114.9359090792838\n",
      "25.84529553634676\n",
      "{'city': '赣州', 'lng': 114.9359090792838, 'lat': 25.84529553634676, 'count': 41}\n",
      "115.98686913929107\n",
      "36.455828514727976\n",
      "{'city': '聊城', 'lng': 115.98686913929107, 'lat': 36.455828514727976, 'count': 40}\n",
      "115.99984802155373\n",
      "29.71963952612237\n",
      "{'city': '九江', 'lng': 115.99984802155373, 'lat': 29.71963952612237, 'count': 40}\n",
      "114.52048681294414\n",
      "37.069531196911996\n",
      "{'city': '邢台', 'lng': 114.52048681294414, 'lat': 37.069531196911996, 'count': 39}\n",
      "114.89378153032918\n",
      "40.81118849110306\n",
      "{'city': '张家口', 'lng': 114.89378153032918, 'lat': 40.81118849110306, 'count': 39}\n",
      "109.42240181015114\n",
      "24.329053352467223\n",
      "{'city': '柳州', 'lng': 109.42240181015114, 'lat': 24.329053352467223, 'count': 39}\n",
      "112.09985718064648\n",
      "30.396103360852894\n",
      "{'city': '荆州', 'lng': 112.09985718064648, 'lat': 30.396103360852894, 'count': 38}\n",
      "117.27930538329689\n",
      "34.80788307838604\n",
      "{'city': '枣庄', 'lng': 117.27930538329689, 'lat': 34.80788307838604, 'count': 38}\n",
      "115.49481016907626\n",
      "38.88656454802744\n",
      "{'city': '保定', 'lng': 115.49481016907626, 'lat': 38.88656454802744, 'count': 37}\n",
      "118.18345059773411\n",
      "39.6505309225366\n",
      "{'city': '唐山', 'lng': 118.18345059773411, 'lat': 39.6505309225366, 'count': 37}\n",
      "117.0587387721073\n",
      "30.537897817381097\n",
      "{'city': '安庆', 'lng': 117.0587387721073, 'lat': 30.537897817381097, 'count': 36}\n",
      "105.73693162285642\n",
      "34.58431941886869\n",
      "{'city': '天水', 'lng': 105.73693162285642, 'lat': 34.58431941886869, 'count': 36}\n",
      "112.86733275750684\n",
      "35.49983446722556\n",
      "{'city': '晋城', 'lng': 112.86733275750684, 'lat': 35.49983446722556, 'count': 36}\n",
      "104.70551897529307\n",
      "31.50470125806144\n",
      "{'city': '绵阳', 'lng': 104.70551897529307, 'lat': 31.50470125806144, 'count': 36}\n",
      "114.65410194229541\n",
      "33.62374081814082\n",
      "{'city': '周口', 'lng': 114.65410194229541, 'lat': 33.62374081814082, 'count': 35}\n",
      "107.17064545238307\n",
      "34.36408080974784\n",
      "{'city': '宝鸡', 'lng': 107.17064545238307, 'lat': 34.36408080974784, 'count': 35}\n",
      "116.86380647644208\n",
      "38.297615350325714\n",
      "{'city': '沧州', 'lng': 116.86380647644208, 'lat': 38.297615350325714, 'count': 34}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "120.30545590053595\n",
      "31.57003745192303\n",
      "{'city': '无锡', 'lng': 120.30545590053595, 'lat': 31.57003745192303, 'count': 34}\n",
      "114.35180650767198\n",
      "36.1102667221811\n",
      "{'city': '安阳', 'lng': 114.35180650767198, 'lat': 36.1102667221811, 'count': 34}\n",
      "113.91269016082377\n",
      "35.3072575576613\n",
      "{'city': '新乡', 'lng': 113.91269016082377, 'lat': 35.3072575576613, 'count': 33}\n",
      "122.40692581531741\n",
      "37.128686091876\n",
      "{'city': '荣成', 'lng': 122.40692581531741, 'lat': 37.128686091876, 'count': 33}\n",
      "117.96829241452845\n",
      "37.405313941825895\n",
      "{'city': '滨州', 'lng': 117.96829241452845, 'lat': 37.405313941825895, 'count': 32}\n",
      "114.29776983802476\n",
      "35.75542587422399\n",
      "{'city': '鹤壁', 'lng': 114.29776983802476, 'lat': 35.75542587422399, 'count': 32}\n",
      "107.04547762872542\n",
      "33.08156897815767\n",
      "{'city': '汉中', 'lng': 107.04547762872542, 'lat': 33.08156897815767, 'count': 32}\n",
      "124.33854311476908\n",
      "40.1290228266375\n",
      "{'city': '丹东', 'lng': 124.33854311476908, 'lat': 40.1290228266375, 'count': 31}\n",
      "112.44752476895121\n",
      "34.65736781765111\n",
      "{'city': '洛阳', 'lng': 112.44752476895121, 'lat': 34.65736781765111, 'count': 30}\n",
      "114.0259736573215\n",
      "22.546053546205247\n",
      "{'city': '深圳', 'lng': 114.0259736573215, 'lat': 22.546053546205247, 'count': 30}\n",
      "119.98186101345706\n",
      "31.771396744684242\n",
      "{'city': '常州', 'lng': 119.98186101345706, 'lat': 31.771396744684242, 'count': 30}\n",
      "117.93382245583847\n",
      "40.992521052457136\n",
      "{'city': '承德', 'lng': 117.93382245583847, 'lat': 40.992521052457136, 'count': 30}\n",
      "117.18810662317686\n",
      "34.27155343109188\n",
      "{'city': '徐州', 'lng': 117.18810662317686, 'lat': 34.27155343109188, 'count': 30}\n",
      "129.47130153101367\n",
      "43.05966660114006\n",
      "{'city': '延吉', 'lng': 129.47130153101367, 'lat': 43.05966660114006, 'count': 29}\n",
      "81.15601314780744\n",
      "40.349444301112534\n",
      "{'city': '阿克苏', 'lng': 81.15601314780744, 'lat': 40.349444301112534, 'count': 29}\n",
      "126.56454398883335\n",
      "43.87198833435933\n",
      "{'city': '吉林', 'lng': 126.56454398883335, 'lat': 43.87198833435933, 'count': 28}\n",
      "110.26092014748276\n",
      "25.262901245955238\n",
      "{'city': '桂林', 'lng': 110.26092014748276, 'lat': 25.262901245955238, 'count': 28}\n",
      "106.93126031648453\n",
      "27.699961377076246\n",
      "{'city': '遵义', 'lng': 106.93126031648453, 'lat': 27.699961377076246, 'count': 27}\n",
      "121.57900597258933\n",
      "29.885258965918055\n",
      "{'city': '宁波', 'lng': 121.57900597258933, 'lat': 29.885258965918055, 'count': 27}\n",
      "105.81968693999652\n",
      "32.441040158428244\n",
      "{'city': '广元', 'lng': 105.81968693999652, 'lat': 32.441040158428244, 'count': 27}\n",
      "81.2890480714925\n",
      "44.020355819309486\n",
      "{'city': '伊宁', 'lng': 81.2890480714925, 'lat': 44.020355819309486, 'count': 27}\n",
      "124.6990773926766\n",
      "46.07005100166291\n",
      "{'city': '大同', 'lng': 124.6990773926766, 'lat': 46.07005100166291, 'count': 26}\n",
      "129.608035395637\n",
      "44.58852115278252\n",
      "{'city': '牡丹江', 'lng': 129.608035395637, 'lat': 44.58852115278252, 'count': 26}\n",
      "120.87380095093022\n",
      "32.014664540823446\n",
      "{'city': '南通', 'lng': 120.87380095093022, 'lat': 32.014664540823446, 'count': 25}\n",
      "119.42777755116975\n",
      "32.40850525456844\n",
      "{'city': '扬州', 'lng': 119.42777755116975, 'lat': 32.40850525456844, 'count': 25}\n",
      "110.15167631614493\n",
      "22.643973608377276\n",
      "{'city': '玉林', 'lng': 110.15167631614493, 'lat': 22.643973608377276, 'count': 25}\n",
      "120.04288208342074\n",
      "49.27924545620167\n",
      "{'city': '海拉尔', 'lng': 120.04288208342074, 'lat': 49.27924545620167, 'count': 24}\n",
      "110.3308018483363\n",
      "20.022071276952243\n",
      "{'city': '海口', 'lng': 110.3308018483363, 'lat': 20.022071276952243, 'count': 24}\n",
      "113.14619551911636\n",
      "29.378007075474304\n",
      "{'city': '岳阳', 'lng': 113.14619551911636, 'lat': 29.378007075474304, 'count': 23}\n",
      "109.03804456347515\n",
      "32.70437044999437\n",
      "{'city': '安康', 'lng': 109.03804456347515, 'lat': 32.70437044999437, 'count': 23}\n",
      "102.64014734336779\n",
      "37.933172142905626\n",
      "{'city': '武威', 'lng': 102.64014734336779, 'lat': 37.933172142905626, 'count': 23}\n",
      "113.8353124597886\n",
      "34.026739588655204\n",
      "{'city': '许昌', 'lng': 113.8353124597886, 'lat': 34.026739588655204, 'count': 23}\n",
      "117.44115922145824\n",
      "40.00961366062446\n",
      "{'city': '蓟县', 'lng': 117.44115922145824, 'lat': 40.00961366062446, 'count': 23}\n",
      "130.28473458595482\n",
      "46.813779604740354\n",
      "{'city': '佳木斯', 'lng': 130.28473458595482, 'lat': 46.813779604740354, 'count': 23}\n",
      "111.00685365308033\n",
      "35.03885947981193\n",
      "{'city': '运城', 'lng': 111.00685365308033, 'lat': 35.03885947981193, 'count': 22}\n",
      "113.03770446779562\n",
      "25.782263975738925\n",
      "{'city': '郴州', 'lng': 113.03770446779562, 'lat': 25.782263975738925, 'count': 22}\n",
      "120.6906347337091\n",
      "28.002837594041246\n",
      "{'city': '温州', 'lng': 120.6906347337091, 'lat': 28.002837594041246, 'count': 21}\n",
      "120.59246738555154\n",
      "30.00236458052847\n",
      "{'city': '绍兴', 'lng': 120.59246738555154, 'lat': 30.00236458052847, 'count': 21}\n",
      "117.14761619529622\n",
      "35.06579087186232\n",
      "{'city': '滕州', 'lng': 117.14761619529622, 'lat': 35.06579087186232, 'count': 21}\n",
      "108.41343863669852\n",
      "30.71005418436643\n",
      "{'city': '万州', 'lng': 108.41343863669852, 'lat': 30.71005418436643, 'count': 21}\n",
      "120.61990711548988\n",
      "31.317987367952437\n",
      "{'city': '苏州', 'lng': 120.61990711548988, 'lat': 31.317987367952437, 'count': 21}\n",
      "116.70360222263986\n",
      "39.51861062508462\n",
      "{'city': '廊坊', 'lng': 116.70360222263986, 'lat': 39.51861062508462, 'count': 21}\n",
      "118.87584165150854\n",
      "28.95691044753569\n",
      "{'city': '衢州', 'lng': 118.87584165150854, 'lat': 28.95691044753569, 'count': 21}\n",
      "114.99203871092017\n",
      "27.113847650157084\n",
      "{'city': '吉安', 'lng': 114.99203871092017, 'lat': 27.113847650157084, 'count': 21}\n",
      "114.35362228468497\n",
      "30.56486029278519\n",
      "{'city': '武昌', 'lng': 114.35362228468497, 'lat': 30.56486029278519, 'count': 20}\n",
      "118.47018708791366\n",
      "36.68058442583128\n",
      "{'city': '青州', 'lng': 118.47018708791366, 'lat': 36.68058442583128, 'count': 20}\n",
      "115.0574069523237\n",
      "38.46583915804824\n",
      "{'city': '定州', 'lng': 115.0574069523237, 'lat': 38.46583915804824, 'count': 20}\n",
      "121.15277918828542\n",
      "29.99645671901067\n",
      "{'city': '余姚', 'lng': 121.15277918828542, 'lat': 29.99645671901067, 'count': 20}\n",
      "112.58381881071617\n",
      "26.89816441535812\n",
      "{'city': '衡阳', 'lng': 112.58381881071617, 'lat': 26.89816441535812, 'count': 19}\n",
      "112.25009284837394\n",
      "32.22916859153757\n",
      "{'city': '襄阳', 'lng': 112.25009284837394, 'lat': 32.22916859153757, 'count': 19}\n",
      "85.70941760173511\n",
      "41.705499905673676\n",
      "{'city': '库尔勒', 'lng': 85.70941760173511, 'lat': 41.705499905673676, 'count': 19}\n",
      "125.02183973021087\n",
      "46.596709020007594\n",
      "{'city': '大庆', 'lng': 125.02183973021087, 'lat': 46.596709020007594, 'count': 19}\n",
      "107.49497344658866\n",
      "31.214198858944734\n",
      "{'city': '达州', 'lng': 107.49497344658866, 'lat': 31.214198858944734, 'count': 19}\n",
      "103.78253888802674\n",
      "25.520758142870502\n",
      "{'city': '曲靖', 'lng': 103.78253888802674, 'lat': 25.520758142870502, 'count': 19}\n",
      "111.53878759640808\n",
      "36.09974544358536\n",
      "{'city': '临汾', 'lng': 111.53878759640808, 'lat': 36.09974544358536, 'count': 19}\n",
      "122.07322781023007\n",
      "41.14124802295616\n",
      "{'city': '盘锦', 'lng': 122.07322781023007, 'lat': 41.14124802295616, 'count': 19}\n",
      "117.35707986587582\n",
      "32.92949890669797\n",
      "{'city': '蚌埠', 'lng': 117.35707986587582, 'lat': 32.92949890669797, 'count': 19}\n",
      "109.517432662322\n",
      "30.30897851129638\n",
      "{'city': '恩施', 'lng': 109.517432662322, 'lat': 30.30897851129638, 'count': 18}\n",
      "119.91960601619071\n",
      "32.47605327483028\n",
      "{'city': '泰州', 'lng': 119.91960601619071, 'lat': 32.47605327483028, 'count': 18}\n",
      "119.31329513263806\n",
      "33.52834896694177\n",
      "{'city': '淮安', 'lng': 119.31329513263806, 'lat': 33.52834896694177, 'count': 18}\n",
      "121.96829072765755\n",
      "37.166083447280435\n",
      "{'city': '文登', 'lng': 121.96829072765755, 'lat': 37.166083447280435, 'count': 18}\n",
      "114.04606140022909\n",
      "33.57627868848315\n",
      "{'city': '漯河', 'lng': 114.04606140022909, 'lat': 33.57627868848315, 'count': 18}\n",
      "121.14774873823639\n",
      "41.13087887591732\n",
      "{'city': '锦州', 'lng': 121.14774873823639, 'lat': 41.13087887591732, 'count': 18}\n",
      "119.65257570368145\n",
      "29.10289910539069\n",
      "{'city': '金华', 'lng': 119.65257570368145, 'lat': 29.10289910539069, 'count': 17}\n",
      "120.06729564866686\n",
      "29.30644391183944\n",
      "{'city': '义乌', 'lng': 120.06729564866686, 'lat': 29.30644391183944, 'count': 17}\n",
      "109.16855802826001\n",
      "27.674902690624183\n",
      "{'city': '铜仁', 'lng': 109.16855802826001, 'lat': 27.674902690624183, 'count': 17}\n",
      "104.63301906152529\n",
      "28.76967479626591\n",
      "{'city': '宜宾', 'lng': 104.63301906152529, 'lat': 28.76967479626591, 'count': 17}\n",
      "115.16440991805027\n",
      "32.132798426221996\n",
      "{'city': '潢川', 'lng': 115.16440991805027, 'lat': 32.132798426221996, 'count': 17}\n",
      "113.12029208572514\n",
      "36.20166438574343\n",
      "{'city': '长治', 'lng': 113.12029208572514, 'lat': 36.20166438574343, 'count': 17}\n",
      "109.9869587958539\n",
      "27.557482901172786\n",
      "{'city': '怀化', 'lng': 109.9869587958539, 'lat': 27.557482901172786, 'count': 17}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "108.70750927819563\n",
      "34.34537299599856\n",
      "{'city': '咸阳', 'lng': 108.70750927819563, 'lat': 34.34537299599856, 'count': 16}\n",
      "120.86075764475588\n",
      "40.743029881317504\n",
      "{'city': '葫芦岛', 'lng': 120.86075764475588, 'lat': 40.743029881317504, 'count': 16}\n",
      "120.13724316328172\n",
      "30.877925155690896\n",
      "{'city': '湖州', 'lng': 120.13724316328172, 'lat': 30.877925155690896, 'count': 16}\n",
      "123.9872889421725\n",
      "47.34769981336638\n",
      "{'city': '齐齐哈尔', 'lng': 123.9872889421725, 'lat': 47.34769981336638, 'count': 16}\n",
      "100.21920895421849\n",
      "25.693966622473024\n",
      "{'city': '大理', 'lng': 100.21920895421849, 'lat': 25.693966622473024, 'count': 16}\n",
      "115.64188568785016\n",
      "34.43858864024636\n",
      "{'city': '商丘', 'lng': 115.64188568785016, 'lat': 34.43858864024636, 'count': 16}\n",
      "102.11788786037536\n",
      "27.863377395840185\n",
      "{'city': '西昌', 'lng': 102.11788786037536, 'lat': 27.863377395840185, 'count': 16}\n",
      "117.0345779137272\n",
      "39.457042575494015\n",
      "{'city': '武清', 'lng': 117.0345779137272, 'lat': 39.457042575494015, 'count': 16}\n",
      "121.66082212856833\n",
      "42.01925010706022\n",
      "{'city': '阜新', 'lng': 121.66082212856833, 'lat': 42.01925010706022, 'count': 16}\n",
      "113.13169534107074\n",
      "27.82743292766265\n",
      "{'city': '株洲', 'lng': 113.13169534107074, 'lat': 27.82743292766265, 'count': 16}\n",
      "76.01434279894337\n",
      "39.51311058531203\n",
      "{'city': '喀什', 'lng': 76.01434279894337, 'lat': 39.51311058531203, 'count': 16}\n",
      "118.38410842322828\n",
      "31.36601978754301\n",
      "{'city': '芜湖', 'lng': 118.38410842322828, 'lat': 31.36601978754301, 'count': 16}\n",
      "106.10555398379239\n",
      "30.800965168237234\n",
      "{'city': '南充', 'lng': 106.10555398379239, 'lat': 30.800965168237234, 'count': 15}\n",
      "109.50050975696925\n",
      "36.60332035226031\n",
      "{'city': '延安', 'lng': 109.50050975696925, 'lat': 36.60332035226031, 'count': 15}\n",
      "113.30084897797529\n",
      "33.74530145652439\n",
      "{'city': '平顶山', 'lng': 113.30084897797529, 'lat': 33.74530145652439, 'count': 15}\n",
      "119.6043676161184\n",
      "39.945461565897574\n",
      "{'city': '秦皇岛', 'lng': 119.6043676161184, 'lat': 39.945461565897574, 'count': 15}\n",
      "120.75134338102879\n",
      "36.905533169254866\n",
      "{'city': '莱阳', 'lng': 120.75134338102879, 'lat': 36.905533169254866, 'count': 15}\n",
      "125.94265013851434\n",
      "41.73639712986761\n",
      "{'city': '通化', 'lng': 125.94265013851434, 'lat': 41.73639712986761, 'count': 15}\n",
      "93.52937301238876\n",
      "42.34446710455244\n",
      "{'city': '哈密', 'lng': 93.52937301238876, 'lat': 42.34446710455244, 'count': 15}\n",
      "115.78792824511814\n",
      "33.87121056530193\n",
      "{'city': '亳州', 'lng': 115.78792824511814, 'lat': 33.87121056530193, 'count': 15}\n",
      "116.50525268298414\n",
      "31.75555835519844\n",
      "{'city': '六安', 'lng': 116.50525268298414, 'lat': 31.75555835519844, 'count': 15}\n",
      "119.70251223974057\n",
      "36.38731799231518\n",
      "{'city': '高密', 'lng': 119.70251223974057, 'lat': 36.38731799231518, 'count': 15}\n",
      "111.99639635657\n",
      "27.741073302349072\n",
      "{'city': '娄底', 'lng': 111.99639635657, 'lat': 27.741073302349072, 'count': 15}\n",
      "110.80122891676038\n",
      "32.636994339468124\n",
      "{'city': '十堰', 'lng': 110.80122891676038, 'lat': 32.636994339468124, 'count': 14}\n",
      "117.95546387714894\n",
      "28.457622553937274\n",
      "{'city': '上饶', 'lng': 117.95546387714894, 'lat': 28.457622553937274, 'count': 14}\n",
      "116.60079762482256\n",
      "35.40212166433135\n",
      "{'city': '济宁', 'lng': 116.60079762482256, 'lat': 35.40212166433135, 'count': 14}\n",
      "101.72242315249032\n",
      "26.587571257108653\n",
      "{'city': '攀枝花', 'lng': 101.72242315249032, 'lat': 26.587571257108653, 'count': 14}\n",
      "116.9886924118307\n",
      "33.63677238578078\n",
      "{'city': '宿州', 'lng': 116.9886924118307, 'lat': 33.63677238578078, 'count': 14}\n",
      "119.95942122689219\n",
      "36.24803145848278\n",
      "{'city': '胶州', 'lng': 119.95942122689219, 'lat': 36.24803145848278, 'count': 14}\n",
      "111.65371813684197\n",
      "29.012148855180815\n",
      "{'city': '常德', 'lng': 111.65371813684197, 'lat': 29.012148855180815, 'count': 14}\n",
      "102.20812626259014\n",
      "38.51607179953174\n",
      "{'city': '金昌', 'lng': 102.20812626259014, 'lat': 38.51607179953174, 'count': 14}\n",
      "123.77806236979248\n",
      "41.32583762664885\n",
      "{'city': '本溪', 'lng': 123.77806236979248, 'lat': 41.32583762664885, 'count': 14}\n",
      "119.92957584318849\n",
      "28.4562995521443\n",
      "{'city': '丽水', 'lng': 119.92957584318849, 'lat': 28.4562995521443, 'count': 14}\n",
      "120.49041120216108\n",
      "30.61234103032807\n",
      "{'city': '桐乡', 'lng': 120.49041120216108, 'lat': 30.61234103032807, 'count': 13}\n",
      "115.25847218770907\n",
      "40.632394360148936\n",
      "{'city': '宣化', 'lng': 115.25847218770907, 'lat': 40.632394360148936, 'count': 13}\n",
      "111.46152540355403\n",
      "27.236811244922414\n",
      "{'city': '邵阳', 'lng': 111.46152540355403, 'lat': 27.236811244922414, 'count': 13}\n",
      "121.42104597878073\n",
      "28.4005538171066\n",
      "{'city': '温岭', 'lng': 121.42104597878073, 'lat': 28.4005538171066, 'count': 13}\n",
      "118.32457035097686\n",
      "32.31735059538377\n",
      "{'city': '滁州', 'lng': 118.32457035097686, 'lat': 32.31735059538377, 'count': 13}\n",
      "117.69593963872306\n",
      "39.00214849843348\n",
      "{'city': '于家堡', 'lng': 117.69593963872306, 'lat': 39.00214849843348, 'count': 13}\n",
      "122.26036326322144\n",
      "43.633756072995986\n",
      "{'city': '通辽', 'lng': 122.26036326322144, 'lat': 43.633756072995986, 'count': 13}\n",
      "111.99518801957157\n",
      "37.02547627593959\n",
      "{'city': '介休', 'lng': 111.99518801957157, 'lat': 37.02547627593959, 'count': 13}\n",
      "107.94823859488538\n",
      "26.6317423326968\n",
      "{'city': '凯里', 'lng': 107.94823859488538, 'lat': 26.6317423326968, 'count': 13}\n",
      "117.01799673877318\n",
      "25.07868543351518\n",
      "{'city': '龙岩', 'lng': 117.01799673877318, 'lat': 25.07868543351518, 'count': 12}\n",
      "123.0077633288837\n",
      "41.118743682153465\n",
      "{'city': '鞍山', 'lng': 123.0077633288837, 'lat': 41.118743682153465, 'count': 12}\n",
      "118.07754612726298\n",
      "30.277745895120198\n",
      "{'city': '黄山', 'lng': 118.07754612726298, 'lat': 30.277745895120198, 'count': 12}\n",
      "110.39377368099409\n",
      "35.5827821383094\n",
      "{'city': '韩城', 'lng': 110.39377368099409, 'lat': 35.5827821383094, 'count': 12}\n",
      "118.60036234322938\n",
      "24.901652383991102\n",
      "{'city': '泉州', 'lng': 118.60036234322938, 'lat': 24.901652383991102, 'count': 12}\n",
      "105.92826996575766\n",
      "26.228594577737493\n",
      "{'city': '安顺', 'lng': 105.92826996575766, 'lat': 26.228594577737493, 'count': 12}\n",
      "115.99905364071243\n",
      "39.48248181057233\n",
      "{'city': '涿州', 'lng': 115.99905364071243, 'lat': 39.48248181057233, 'count': 12}\n",
      "117.88049041703327\n",
      "31.608732547545824\n",
      "{'city': '巢湖', 'lng': 117.88049041703327, 'lat': 31.608732547545824, 'count': 12}\n",
      "117.81942872880637\n",
      "30.940929694665662\n",
      "{'city': '铜陵', 'lng': 117.81942872880637, 'lat': 30.940929694665662, 'count': 12}\n",
      "107.44183964666986\n",
      "40.93201822322359\n",
      "{'city': '临河', 'lng': 107.44183964666986, 'lat': 40.93201822322359, 'count': 12}\n",
      "109.48393269657977\n",
      "34.5023579758288\n",
      "{'city': '渭南', 'lng': 109.48393269657977, 'lat': 34.5023579758288, 'count': 12}\n",
      "111.1812620932674\n",
      "34.783319941049726\n",
      "{'city': '三门峡', 'lng': 111.1812620932674, 'lat': 34.783319941049726, 'count': 12}\n",
      "111.14315660234801\n",
      "37.52731609696258\n",
      "{'city': '吕梁', 'lng': 111.14315660234801, 'lat': 37.52731609696258, 'count': 12}\n",
      "115.55360067628013\n",
      "34.82795276718242\n",
      "{'city': '曹县', 'lng': 115.55360067628013, 'lat': 34.82795276718242, 'count': 12}\n",
      "114.35164211776365\n",
      "34.80185417583674\n",
      "{'city': '开封', 'lng': 114.35164211776365, 'lat': 34.80185417583674, 'count': 11}\n",
      "119.54208214971854\n",
      "26.656527419158913\n",
      "{'city': '宁德', 'lng': 119.54208214971854, 'lat': 26.656527419158913, 'count': 11}\n",
      "109.74592574432862\n",
      "38.279439240070595\n",
      "{'city': '榆林', 'lng': 109.74592574432862, 'lat': 38.279439240070595, 'count': 11}\n",
      "106.75891196362113\n",
      "30.59924998719945\n",
      "{'city': '广安', 'lng': 106.75891196362113, 'lat': 30.59924998719945, 'count': 11}\n",
      "110.4816201569677\n",
      "29.124889353219793\n",
      "{'city': '张家界', 'lng': 110.4816201569677, 'lat': 29.124889353219793, 'count': 11}\n",
      "117.82005160306733\n",
      "31.222493656580316\n",
      "{'city': '无为', 'lng': 117.82005160306733, 'lat': 31.222493656580316, 'count': 11}\n",
      "104.15257073219401\n",
      "26.276828622628493\n",
      "{'city': '宣威', 'lng': 104.15257073219401, 'lat': 26.276828622628493, 'count': 11}\n",
      "119.65118456980305\n",
      "27.086013943108874\n",
      "{'city': '汉口', 'lng': 119.65118456980305, 'lat': 27.086013943108874, 'count': 11}\n",
      "113.12623048764767\n",
      "30.649047356422365\n",
      "{'city': '天门', 'lng': 113.12623048764767, 'lat': 30.649047356422365, 'count': 11}\n",
      "113.56923760163296\n",
      "37.86952949322259\n",
      "{'city': '阳泉', 'lng': 113.56923760163296, 'lat': 37.86952949322259, 'count': 11}\n",
      "117.64908144717823\n",
      "39.007936142682375\n",
      "{'city': '塘沽', 'lng': 117.64908144717823, 'lat': 39.007936142682375, 'count': 11}\n",
      "113.21183588499157\n",
      "35.234607554985935\n",
      "{'city': '焦作', 'lng': 113.21183588499157, 'lat': 35.234607554985935, 'count': 11}\n",
      "117.64219393404412\n",
      "26.270835279362192\n",
      "{'city': '三明', 'lng': 117.64219393404412, 'lat': 26.270835279362192, 'count': 11}\n",
      "117.47047586204579\n",
      "36.76330774852458\n",
      "{'city': '章丘', 'lng': 117.47047586204579, 'lat': 36.76330774852458, 'count': 11}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "117.01863886329463\n",
      "32.64281182374795\n",
      "{'city': '淮南', 'lng': 117.01863886329463, 'lat': 32.64281182374795, 'count': 10}\n",
      "119.07773096395962\n",
      "25.448450136734262\n",
      "{'city': '莆田', 'lng': 119.07773096395962, 'lat': 25.448450136734262, 'count': 10}\n",
      "118.47018708791366\n",
      "36.68058442583128\n",
      "{'city': '青州市', 'lng': 118.47018708791366, 'lat': 36.68058442583128, 'count': 10}\n",
      "120.442831050639\n",
      "36.863636936232474\n",
      "{'city': '莱西', 'lng': 120.442831050639, 'lat': 36.863636936232474, 'count': 10}\n",
      "116.72865028834109\n",
      "23.383908453269196\n",
      "{'city': '汕头', 'lng': 116.72865028834109, 'lat': 23.383908453269196, 'count': 10}\n",
      "116.75256014242531\n",
      "35.564429514450595\n",
      "{'city': '兖州', 'lng': 116.75256014242531, 'lat': 35.564429514450595, 'count': 10}\n",
      "116.04093362477256\n",
      "39.26508776483182\n",
      "{'city': '高碑店', 'lng': 116.04093362477256, 'lat': 39.26508776483182, 'count': 10}\n",
      "111.37150924675753\n",
      "35.62178548787969\n",
      "{'city': '侯马', 'lng': 111.37150924675753, 'lat': 35.62178548787969, 'count': 10}\n",
      "124.39138207367984\n",
      "43.17552470112557\n",
      "{'city': '四平', 'lng': 124.39138207367984, 'lat': 43.17552470112557, 'count': 9}\n",
      "130.29247205063453\n",
      "47.33866590372683\n",
      "{'city': '鹤岗', 'lng': 130.29247205063453, 'lat': 47.33866590372683, 'count': 9}\n",
      "118.60708619901152\n",
      "28.581969944140962\n",
      "{'city': '江山', 'lng': 118.60708619901152, 'lat': 28.581969944140962, 'count': 9}\n",
      "109.76441928582383\n",
      "39.805585913145606\n",
      "{'city': '东胜', 'lng': 109.76441928582383, 'lat': 39.805585913145606, 'count': 9}\n",
      "117.67620467894616\n",
      "24.517064779808482\n",
      "{'city': '漳州', 'lng': 117.67620467894616, 'lat': 24.517064779808482, 'count': 9}\n",
      "121.5297879779459\n",
      "36.976575050290634\n",
      "{'city': '乳山', 'lng': 121.5297879779459, 'lat': 36.976575050290634, 'count': 9}\n",
      "117.089581751128\n",
      "35.35404254087785\n",
      "{'city': '邹城', 'lng': 117.089581751128, 'lat': 35.35404254087785, 'count': 9}\n",
      "104.63291319296263\n",
      "35.111801691090896\n",
      "{'city': '陇西', 'lng': 104.63291319296263, 'lat': 35.111801691090896, 'count': 9}\n",
      "86.04186492219485\n",
      "44.308258980430466\n",
      "{'city': '石河子', 'lng': 86.04186492219485, 'lat': 44.308258980430466, 'count': 9}\n",
      "116.16321405193285\n",
      "38.741104641109665\n",
      "{'city': '任丘', 'lng': 116.16321405193285, 'lat': 38.741104641109665, 'count': 9}\n",
      "113.11283222874056\n",
      "41.02776597146905\n",
      "{'city': '集宁', 'lng': 113.11283222874056, 'lat': 41.02776597146905, 'count': 9}\n",
      "117.18652262527252\n",
      "29.303562768448288\n",
      "{'city': '景德镇', 'lng': 117.18652262527252, 'lat': 29.303562768448288, 'count': 9}\n",
      "118.85774971753034\n",
      "34.15401365959694\n",
      "{'city': '沭阳', 'lng': 118.85774971753034, 'lat': 34.15401365959694, 'count': 9}\n",
      "117.03545018601243\n",
      "28.241309597181967\n",
      "{'city': '鹰潭', 'lng': 117.03545018601243, 'lat': 28.241309597181967, 'count': 9}\n",
      "115.60077083530692\n",
      "30.32871701174397\n",
      "{'city': '蕲春', 'lng': 115.60077083530692, 'lat': 30.32871701174397, 'count': 9}\n",
      "100.45989186892419\n",
      "38.93932029698206\n",
      "{'city': '张掖', 'lng': 100.45989186892419, 'lat': 38.93932029698206, 'count': 9}\n",
      "111.30547195007331\n",
      "23.485394636734455\n",
      "{'city': '梧州', 'lng': 111.30547195007331, 'lat': 23.485394636734455, 'count': 9}\n",
      "106.83199909716231\n",
      "39.683177006785236\n",
      "{'city': '乌海', 'lng': 106.83199909716231, 'lat': 39.683177006785236, 'count': 8}\n",
      "108.99183003691114\n",
      "27.33587099435376\n",
      "{'city': '玉屏', 'lng': 108.99183003691114, 'lat': 27.33587099435376, 'count': 8}\n",
      "119.81941984715448\n",
      "30.98335278753511\n",
      "{'city': '长兴', 'lng': 119.81941984715448, 'lat': 30.98335278753511, 'count': 8}\n",
      "119.45583540512952\n",
      "32.20440944359928\n",
      "{'city': '镇江', 'lng': 119.45583540512952, 'lat': 32.20440944359928, 'count': 8}\n",
      "113.93573439207124\n",
      "30.927954784200963\n",
      "{'city': '孝感', 'lng': 113.93573439207124, 'lat': 30.927954784200963, 'count': 8}\n",
      "104.93314929992522\n",
      "31.952426668806112\n",
      "{'city': '江油', 'lng': 104.93314929992522, 'lat': 31.952426668806112, 'count': 8}\n",
      "81.87428467917839\n",
      "44.844209020588075\n",
      "{'city': '博乐', 'lng': 81.87428467917839, 'lat': 44.844209020588075, 'count': 8}\n",
      "120.52110561990881\n",
      "36.48790860159858\n",
      "{'city': '即墨', 'lng': 120.52110561990881, 'lat': 36.48790860159858, 'count': 8}\n",
      "120.76042769895746\n",
      "30.77399223958183\n",
      "{'city': '嘉兴', 'lng': 120.76042769895746, 'lat': 30.77399223958183, 'count': 8}\n",
      "103.76082423877176\n",
      "29.600957611095073\n",
      "{'city': '乐山', 'lng': 103.76082423877176, 'lat': 29.600957611095073, 'count': 8}\n",
      "113.56244702618993\n",
      "22.25691464612574\n",
      "{'city': '珠海', 'lng': 113.56244702618993, 'lat': 22.25691464612574, 'count': 8}\n",
      "111.04428685664897\n",
      "29.801742760215244\n",
      "{'city': '石门', 'lng': 111.04428685664897, 'lat': 29.801742760215244, 'count': 8}\n",
      "112.93511535361624\n",
      "35.809742457990794\n",
      "{'city': '高平', 'lng': 112.93511535361624, 'lat': 35.809742457990794, 'count': 8}\n",
      "116.52169489108084\n",
      "39.95895316640668\n",
      "{'city': '朝阳', 'lng': 116.52169489108084, 'lat': 39.95895316640668, 'count': 8}\n",
      "106.63182140365117\n",
      "23.901512367910115\n",
      "{'city': '百色', 'lng': 106.63182140365117, 'lat': 23.901512367910115, 'count': 8}\n",
      "121.7906987887405\n",
      "39.70895639618986\n",
      "{'city': '瓦房店', 'lng': 121.7906987887405, 'lat': 39.70895639618986, 'count': 8}\n",
      "113.5944611074356\n",
      "24.80296031189189\n",
      "{'city': '韶关', 'lng': 113.5944611074356, 'lat': 24.80296031189189, 'count': 8}\n",
      "116.98682530718416\n",
      "38.837510804606694\n",
      "{'city': '静海', 'lng': 116.98682530718416, 'lat': 38.837510804606694, 'count': 8}\n",
      "115.08971464086959\n",
      "31.217943121812862\n",
      "{'city': '麻城', 'lng': 115.08971464086959, 'lat': 31.217943121812862, 'count': 8}\n",
      "117.20871442383435\n",
      "37.32594723868996\n",
      "{'city': '商河', 'lng': 117.20871442383435, 'lat': 37.32594723868996, 'count': 8}\n",
      "113.76343399075655\n",
      "23.043023815368237\n",
      "{'city': '东莞', 'lng': 113.76343399075655, 'lat': 23.043023815368237, 'count': 8}\n",
      "105.07305599171474\n",
      "29.599461534774647\n",
      "{'city': '内江', 'lng': 105.07305599171474, 'lat': 29.599461534774647, 'count': 7}\n",
      "120.28143440994458\n",
      "29.69939951698114\n",
      "{'city': '诸暨', 'lng': 120.28143440994458, 'lat': 29.69939951698114, 'count': 7}\n",
      "117.49447677159357\n",
      "30.660019248160626\n",
      "{'city': '池州', 'lng': 117.49447677159357, 'lat': 30.660019248160626, 'count': 7}\n",
      "119.41616966207869\n",
      "36.01665753337769\n",
      "{'city': '诸城', 'lng': 119.41616966207869, 'lat': 36.01665753337769, 'count': 7}\n",
      "120.44554278341076\n",
      "27.434436382653455\n",
      "{'city': '苍南', 'lng': 120.44554278341076, 'lat': 27.434436382653455, 'count': 7}\n",
      "83.4598067826727\n",
      "41.78193289277602\n",
      "{'city': '库车', 'lng': 83.4598067826727, 'lat': 41.78193289277602, 'count': 7}\n",
      "117.41664984163721\n",
      "28.452236031908882\n",
      "{'city': '弋阳', 'lng': 117.41664984163721, 'lat': 28.452236031908882, 'count': 7}\n",
      "122.84077667910014\n",
      "45.621086275218886\n",
      "{'city': '白城', 'lng': 122.84077667910014, 'lat': 45.621086275218886, 'count': 7}\n",
      "109.10529705882409\n",
      "40.90599326088688\n",
      "{'city': '乌拉特前旗', 'lng': 109.10529705882409, 'lat': 40.90599326088688, 'count': 7}\n",
      "109.12262791919323\n",
      "21.472718235009687\n",
      "{'city': '北海', 'lng': 109.12262791919323, 'lat': 21.472718235009687, 'count': 7}\n",
      "122.23339137079269\n",
      "40.66865106647352\n",
      "{'city': '营口', 'lng': 122.23339137079269, 'lat': 40.66865106647352, 'count': 7}\n",
      "116.95355904596255\n",
      "30.97256797210734\n",
      "{'city': '桐城', 'lng': 116.95355904596255, 'lat': 30.97256797210734, 'count': 7}\n",
      "107.75429308030043\n",
      "37.388791134451644\n",
      "{'city': '定边', 'lng': 107.75429308030043, 'lat': 37.388791134451644, 'count': 7}\n",
      "109.52277128135884\n",
      "18.257775914897483\n",
      "{'city': '三亚', 'lng': 109.52277128135884, 'lat': 18.257775914897483, 'count': 7}\n",
      "110.39614377168353\n",
      "37.52086133341383\n",
      "{'city': '绥德', 'lng': 110.39614377168353, 'lat': 37.52086133341383, 'count': 7}\n",
      "109.77092578557932\n",
      "28.317142599326463\n",
      "{'city': '吉首', 'lng': 109.77092578557932, 'lat': 28.317142599326463, 'count': 7}\n",
      "124.2757801644583\n",
      "42.50855704819172\n",
      "{'city': '清河城', 'lng': 124.2757801644583, 'lat': 42.50855704819172, 'count': 7}\n",
      "112.47992772666272\n",
      "39.33767196622064\n",
      "{'city': '朔州', 'lng': 112.47992772666272, 'lat': 39.33767196622064, 'count': 7}\n",
      "118.37604020628753\n",
      "30.599286819491837\n",
      "{'city': '泾县', 'lng': 118.37604020628753, 'lat': 30.599286819491837, 'count': 7}\n",
      "112.36654664522563\n",
      "28.58808777988717\n",
      "{'city': '益阳', 'lng': 112.36654664522563, 'lat': 28.58808777988717, 'count': 7}\n",
      "112.73643253248883\n",
      "37.407696414458925\n",
      "{'city': '太谷', 'lng': 112.73643253248883, 'lat': 37.407696414458925, 'count': 6}\n",
      "121.44061293593727\n",
      "28.668283285674367\n",
      "{'city': '台州', 'lng': 121.44061293593727, 'lat': 28.668283285674367, 'count': 6}\n",
      "104.40239781824484\n",
      "31.131139652701417\n",
      "{'city': '德阳', 'lng': 104.40239781824484, 'lat': 31.131139652701417, 'count': 6}\n",
      "113.85991703300718\n",
      "27.639544222952306\n",
      "{'city': '萍乡', 'lng': 113.85991703300718, 'lat': 27.639544222952306, 'count': 6}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "122.08153380950299\n",
      "46.11694357016496\n",
      "{'city': '乌兰浩特', 'lng': 122.08153380950299, 'lat': 46.11694357016496, 'count': 6}\n",
      "105.25295771713975\n",
      "29.36786874915794\n",
      "{'city': '隆昌', 'lng': 105.25295771713975, 'lat': 29.36786874915794, 'count': 6}\n",
      "76.86715402185523\n",
      "40.131229698740405\n",
      "{'city': '阿图什', 'lng': 76.86715402185523, 'lat': 40.131229698740405, 'count': 6}\n",
      "105.56488779226322\n",
      "30.55749135037996\n",
      "{'city': '遂宁', 'lng': 105.56488779226322, 'lat': 30.55749135037996, 'count': 6}\n",
      "85.01393440151206\n",
      "44.55955677899691\n",
      "{'city': '奎屯', 'lng': 85.01393440151206, 'lat': 44.55955677899691, 'count': 6}\n",
      "121.5692400515546\n",
      "37.272445856085255\n",
      "{'city': '牟平', 'lng': 121.5692400515546, 'lat': 37.272445856085255, 'count': 6}\n",
      "112.08725257929449\n",
      "21.788415503447272\n",
      "{'city': '虎门', 'lng': 112.08725257929449, 'lat': 21.788415503447272, 'count': 6}\n",
      "114.85908905243073\n",
      "31.646279005794355\n",
      "{'city': '新县', 'lng': 114.85908905243073, 'lat': 31.646279005794355, 'count': 6}\n",
      "130.94176727325066\n",
      "45.32153988655108\n",
      "{'city': '鸡西', 'lng': 130.94176727325066, 'lat': 45.32153988655108, 'count': 6}\n",
      "112.76876801685833\n",
      "30.34311579260133\n",
      "{'city': '潜江', 'lng': 112.76876801685833, 'lat': 30.34311579260133, 'count': 6}\n",
      "98.50841450616744\n",
      "39.74147376815896\n",
      "{'city': '酒泉', 'lng': 98.50841450616744, 'lat': 39.74147376815896, 'count': 6}\n",
      "114.98802129265145\n",
      "38.172959019818904\n",
      "{'city': '凤凰城', 'lng': 114.98802129265145, 'lat': 38.172959019818904, 'count': 6}\n",
      "112.72793882880985\n",
      "38.46103057295889\n",
      "{'city': '忻州', 'lng': 112.72793882880985, 'lat': 38.46103057295889, 'count': 6}\n",
      "114.12543918071499\n",
      "26.633149538062607\n",
      "{'city': '井冈山', 'lng': 114.12543918071499, 'lat': 26.633149538062607, 'count': 6}\n",
      "115.98586699622393\n",
      "25.921831361760326\n",
      "{'city': '瑞金', 'lng': 115.98586699622393, 'lat': 25.921831361760326, 'count': 6}\n",
      "103.72502065573349\n",
      "27.340632963635457\n",
      "{'city': '昭通', 'lng': 103.72502065573349, 'lat': 27.340632963635457, 'count': 6}\n",
      "120.14887181793894\n",
      "33.379861877120995\n",
      "{'city': '盐城', 'lng': 120.14887181793894, 'lat': 33.379861877120995, 'count': 6}\n",
      "116.5743059897649\n",
      "39.10932007905548\n",
      "{'city': '霸州', 'lng': 116.5743059897649, 'lat': 39.10932007905548, 'count': 6}\n",
      "125.72351563218488\n",
      "42.54264989265649\n",
      "{'city': '梅河口', 'lng': 125.72351563218488, 'lat': 42.54264989265649, 'count': 6}\n",
      "126.98909457163498\n",
      "46.64606392699692\n",
      "{'city': '绥化', 'lng': 126.98909457163498, 'lat': 46.64606392699692, 'count': 6}\n",
      "121.11361421128213\n",
      "36.861587988875065\n",
      "{'city': '海阳', 'lng': 121.11361421128213, 'lat': 36.861587988875065, 'count': 6}\n",
      "86.07606847595015\n",
      "42.09610370793745\n",
      "{'city': '焉耆', 'lng': 86.07606847595015, 'lat': 42.09610370793745, 'count': 6}\n",
      "92.06701836885875\n",
      "31.480679830119627\n",
      "{'city': '那曲', 'lng': 92.06701836885875, 'lat': 31.480679830119627, 'count': 6}\n",
      "116.8917555482995\n",
      "39.95649372151026\n",
      "{'city': '燕郊', 'lng': 116.8917555482995, 'lat': 39.95649372151026, 'count': 6}\n",
      "109.61370755657885\n",
      "23.10337316440881\n",
      "{'city': '贵港', 'lng': 109.61370755657885, 'lat': 23.10337316440881, 'count': 6}\n",
      "114.40003867155777\n",
      "27.811129895842885\n",
      "{'city': '宜春', 'lng': 114.40003867155777, 'lat': 27.811129895842885, 'count': 6}\n",
      "112.40383005708094\n",
      "35.09389309450756\n",
      "{'city': '济源', 'lng': 112.40383005708094, 'lat': 35.09389309450756, 'count': 5}\n",
      "117.90279634728589\n",
      "24.62080618389086\n",
      "{'city': '天柱山', 'lng': 117.90279634728589, 'lat': 24.62080618389086, 'count': 5}\n",
      "105.88035760367573\n",
      "29.29648764699071\n",
      "{'city': '永川', 'lng': 105.88035760367573, 'lat': 29.29648764699071, 'count': 5}\n",
      "114.41065807997101\n",
      "23.11353985240842\n",
      "{'city': '惠州', 'lng': 114.41065807997101, 'lat': 23.11353985240842, 'count': 5}\n",
      "119.49291291256117\n",
      "26.227722416033426\n",
      "{'city': '鳌江', 'lng': 119.49291291256117, 'lat': 26.227722416033426, 'count': 5}\n",
      "112.21733029896677\n",
      "31.04261120294864\n",
      "{'city': '荆门', 'lng': 112.21733029896677, 'lat': 31.04261120294864, 'count': 5}\n",
      "115.17841405829013\n",
      "34.69611652432266\n",
      "{'city': '民权', 'lng': 115.17841405829013, 'lat': 34.69611652432266, 'count': 5}\n",
      "98.281634585257\n",
      "39.80239732673353\n",
      "{'city': '嘉峪关', 'lng': 98.281634585257, 'lat': 39.80239732673353, 'count': 5}\n",
      "125.96882675838017\n",
      "44.194372106981\n",
      "{'city': '九台', 'lng': 125.96882675838017, 'lat': 44.194372106981, 'count': 5}\n",
      "105.27453175251577\n",
      "34.809420550799004\n",
      "{'city': '甘谷', 'lng': 105.27453175251577, 'lat': 34.809420550799004, 'count': 5}\n",
      "117.57342951075837\n",
      "37.605500456411555\n",
      "{'city': '阳信', 'lng': 117.57342951075837, 'lat': 37.605500456411555, 'count': 5}\n",
      "107.99381097492879\n",
      "31.986241088206395\n",
      "{'city': '万源', 'lng': 107.99381097492879, 'lat': 31.986241088206395, 'count': 5}\n",
      "125.13368605218399\n",
      "42.923302619053665\n",
      "{'city': '辽源', 'lng': 125.13368605218399, 'lat': 42.923302619053665, 'count': 5}\n",
      "117.1329419569669\n",
      "23.874040725389637\n",
      "{'city': '诏安', 'lng': 117.1329419569669, 'lat': 23.874040725389637, 'count': 5}\n",
      "115.8946323524563\n",
      "35.61297951972669\n",
      "{'city': '郓城', 'lng': 115.8946323524563, 'lat': 35.61297951972669, 'count': 5}\n",
      "116.79144742863005\n",
      "33.96002330536412\n",
      "{'city': '淮北', 'lng': 116.79144742863005, 'lat': 33.96002330536412, 'count': 5}\n",
      "115.88581610558234\n",
      "38.42220712282884\n",
      "{'city': '肃宁', 'lng': 115.88581610558234, 'lat': 38.42220712282884, 'count': 5}\n",
      "116.37188399052417\n",
      "25.69695849547561\n",
      "{'city': '长汀', 'lng': 116.37188399052417, 'lat': 25.69695849547561, 'count': 5}\n",
      "116.13694826431457\n",
      "44.07896112909946\n",
      "{'city': '锡林浩特', 'lng': 116.13694826431457, 'lat': 44.07896112909946, 'count': 5}\n",
      "111.61464768615666\n",
      "26.435971646759207\n",
      "{'city': '永州', 'lng': 111.61464768615666, 'lat': 26.435971646759207, 'count': 5}\n",
      "104.85208676006856\n",
      "26.59186606031868\n",
      "{'city': '六盘水', 'lng': 104.85208676006856, 'lat': 26.59186606031868, 'count': 5}\n",
      "119.17387221741889\n",
      "34.60154896700999\n",
      "{'city': '连云港', 'lng': 119.17387221741889, 'lat': 34.60154896700999, 'count': 5}\n",
      "119.37754701318562\n",
      "25.638120577122187\n",
      "{'city': '福清', 'lng': 119.37754701318562, 'lat': 25.638120577122187, 'count': 5}\n",
      "118.58377725189884\n",
      "39.785508848228524\n",
      "{'city': '滦县', 'lng': 118.58377725189884, 'lat': 39.785508848228524, 'count': 5}\n",
      "109.33593712009724\n",
      "22.49546949018848\n",
      "{'city': '峨眉', 'lng': 109.33593712009724, 'lat': 22.49546949018848, 'count': 5}\n",
      "120.81245798625179\n",
      "27.888166569727723\n",
      "{'city': '沙城', 'lng': 120.81245798625179, 'lat': 27.888166569727723, 'count': 5}\n",
      "115.4465072581216\n",
      "26.42520060132647\n",
      "{'city': '兴国', 'lng': 115.4465072581216, 'lat': 26.42520060132647, 'count': 5}\n",
      "106.75791584175442\n",
      "31.869189159159983\n",
      "{'city': '巴中', 'lng': 106.75791584175442, 'lat': 31.869189159159983, 'count': 5}\n",
      "78.90713899545392\n",
      "39.6181074998455\n",
      "{'city': '巴楚', 'lng': 78.90713899545392, 'lat': 39.6181074998455, 'count': 5}\n",
      "117.18390217966451\n",
      "36.21545724131077\n",
      "{'city': '泰山', 'lng': 117.18390217966451, 'lat': 36.21545724131077, 'count': 5}\n",
      "102.54506789248256\n",
      "24.370447134438425\n",
      "{'city': '玉溪', 'lng': 102.54506789248256, 'lat': 24.370447134438425, 'count': 5}\n",
      "111.5525941788367\n",
      "24.41105354711281\n",
      "{'city': '贺州', 'lng': 111.5525941788367, 'lat': 24.41105354711281, 'count': 5}\n",
      "106.68891115654719\n",
      "35.550110190016646\n",
      "{'city': '平凉', 'lng': 106.68891115654719, 'lat': 35.550110190016646, 'count': 5}\n",
      "112.05686057639942\n",
      "32.684649552172985\n",
      "{'city': '邓州', 'lng': 112.05686057639942, 'lat': 32.684649552172985, 'count': 5}\n",
      "112.26549326017494\n",
      "37.14808977846167\n",
      "{'city': '平遥', 'lng': 112.26549326017494, 'lat': 37.14808977846167, 'count': 5}\n",
      "117.56992967904758\n",
      "41.517994972230575\n",
      "{'city': '隆化', 'lng': 117.56992967904758, 'lat': 41.517994972230575, 'count': 5}\n",
      "106.53063501341296\n",
      "29.54460610888615\n",
      "{'city': '重庆北', 'lng': 106.53063501341296, 'lat': 29.54460610888615, 'count': 5}\n",
      "116.18253924826962\n",
      "30.5010996650404\n",
      "{'city': '太湖', 'lng': 116.18253924826962, 'lat': 30.5010996650404, 'count': 5}\n",
      "110.33126976909105\n",
      "38.82903586595584\n",
      "{'city': '神木', 'lng': 110.33126976909105, 'lat': 38.82903586595584, 'count': 5}\n",
      "111.65937789134962\n",
      "36.32551418032607\n",
      "{'city': '洪洞', 'lng': 111.65937789134962, 'lat': 36.32551418032607, 'count': 5}\n",
      "123.17245120514733\n",
      "41.27333926556943\n",
      "{'city': '辽阳', 'lng': 123.17245120514733, 'lat': 41.27333926556943, 'count': 4}\n",
      "115.35049833098363\n",
      "40.56883692865251\n",
      "{'city': '下花园', 'lng': 115.35049833098363, 'lat': 40.56883692865251, 'count': 4}\n",
      "120.5637694714376\n",
      "32.79144254828859\n",
      "{'city': '东台', 'lng': 120.5637694714376, 'lat': 32.79144254828859, 'count': 4}\n",
      "118.01154264631502\n",
      "27.748135171112096\n",
      "{'city': '武夷山', 'lng': 118.01154264631502, 'lat': 27.748135171112096, 'count': 4}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "119.65627713286024\n",
      "27.05589671479905\n",
      "{'city': '福安', 'lng': 119.65627713286024, 'lat': 27.05589671479905, 'count': 4}\n",
      "115.78260175172889\n",
      "36.78206947311332\n",
      "{'city': '临清', 'lng': 115.78260175172889, 'lat': 36.78206947311332, 'count': 4}\n",
      "116.36091886693136\n",
      "27.954545170269935\n",
      "{'city': '抚州', 'lng': 116.36091886693136, 'lat': 27.954545170269935, 'count': 4}\n",
      "101.3286379991764\n",
      "24.880252472650806\n",
      "{'city': '楚雄', 'lng': 101.3286379991764, 'lat': 24.880252472650806, 'count': 4}\n",
      "117.02128418408721\n",
      "39.96742764877024\n",
      "{'city': '三河县', 'lng': 117.02128418408721, 'lat': 39.96742764877024, 'count': 4}\n",
      "111.96499464977616\n",
      "37.459705909704425\n",
      "{'city': '文水', 'lng': 111.96499464977616, 'lat': 37.459705909704425, 'count': 4}\n",
      "88.95606277351817\n",
      "29.26816003265482\n",
      "{'city': '日喀则', 'lng': 88.95606277351817, 'lat': 29.26816003265482, 'count': 4}\n",
      "111.24684472008677\n",
      "27.873272599438792\n",
      "{'city': '新化', 'lng': 111.24684472008677, 'lat': 27.873272599438792, 'count': 4}\n",
      "108.05873803757561\n",
      "34.290198720106446\n",
      "{'city': '杨陵', 'lng': 108.05873803757561, 'lat': 34.290198720106446, 'count': 4}\n",
      "109.02532125367753\n",
      "28.498315398405296\n",
      "{'city': '秀山', 'lng': 109.02532125367753, 'lat': 28.498315398405296, 'count': 4}\n",
      "118.55865054225015\n",
      "24.72963829769785\n",
      "{'city': '晋江', 'lng': 118.55865054225015, 'lat': 24.72963829769785, 'count': 4}\n",
      "116.12480570072432\n",
      "35.80160624971607\n",
      "{'city': '梁山', 'lng': 116.12480570072432, 'lat': 35.80160624971607, 'count': 4}\n",
      "112.4796533699162\n",
      "23.078663282928925\n",
      "{'city': '肇庆', 'lng': 112.4796533699162, 'lat': 23.078663282928925, 'count': 4}\n",
      "117.98583765074815\n",
      "35.25497079311155\n",
      "{'city': '费县', 'lng': 117.98583765074815, 'lat': 35.25497079311155, 'count': 4}\n",
      "114.9471174167892\n",
      "27.82232155862896\n",
      "{'city': '新余', 'lng': 114.9471174167892, 'lat': 27.82232155862896, 'count': 4}\n",
      "105.19675419935521\n",
      "37.52112419159455\n",
      "{'city': '中卫', 'lng': 105.19675419935521, 'lat': 37.52112419159455, 'count': 4}\n",
      "112.73851439991773\n",
      "37.69336152679759\n",
      "{'city': '晋中', 'lng': 112.73851439991773, 'lat': 37.69336152679759, 'count': 4}\n",
      "113.47062497305373\n",
      "27.66227857387793\n",
      "{'city': '醴陵', 'lng': 113.47062497305373, 'lat': 27.66227857387793, 'count': 4}\n",
      "121.92920216562221\n",
      "47.743403383099974\n",
      "{'city': '扎兰屯', 'lng': 121.92920216562221, 'lat': 47.743403383099974, 'count': 4}\n",
      "110.41260119285069\n",
      "23.53868288368454\n",
      "{'city': '平南南', 'lng': 110.41260119285069, 'lat': 23.53868288368454, 'count': 4}\n",
      "107.7537124143854\n",
      "32.89490280165655\n",
      "{'city': '西乡', 'lng': 107.7537124143854, 'lat': 32.89490280165655, 'count': 4}\n",
      "110.93124533067585\n",
      "21.66822571882161\n",
      "{'city': '茂名', 'lng': 110.93124533067585, 'lat': 21.66822571882161, 'count': 4}\n",
      "104.77607133936438\n",
      "29.359156889475667\n",
      "{'city': '自贡', 'lng': 104.77607133936438, 'lat': 29.359156889475667, 'count': 4}\n",
      "112.53309503972456\n",
      "27.927332779842192\n",
      "{'city': '韶山', 'lng': 112.53309503972456, 'lat': 27.927332779842192, 'count': 4}\n",
      "115.02662744067226\n",
      "35.75329788820758\n",
      "{'city': '濮阳', 'lng': 115.02662744067226, 'lat': 35.75329788820758, 'count': 4}\n",
      "118.75209631098257\n",
      "30.951642354295757\n",
      "{'city': '宣城', 'lng': 118.75209631098257, 'lat': 30.951642354295757, 'count': 4}\n",
      "111.70770306732227\n",
      "29.750168137633175\n",
      "{'city': '澧县', 'lng': 111.70770306732227, 'lat': 29.750168137633175, 'count': 4}\n",
      "108.8132592546222\n",
      "37.48421580549166\n",
      "{'city': '靖边', 'lng': 108.8132592546222, 'lat': 37.48421580549166, 'count': 4}\n",
      "116.95053137014742\n",
      "24.09252279857813\n",
      "{'city': '华山', 'lng': 116.95053137014742, 'lat': 24.09252279857813, 'count': 4}\n",
      "118.89007890267528\n",
      "35.21312322003471\n",
      "{'city': '莒南', 'lng': 118.89007890267528, 'lat': 35.21312322003471, 'count': 4}\n",
      "117.36956340989389\n",
      "40.924820741760996\n",
      "{'city': '滦平', 'lng': 117.36956340989389, 'lat': 40.924820741760996, 'count': 4}\n",
      "111.83083562619586\n",
      "36.59967782911543\n",
      "{'city': '霍州', 'lng': 111.83083562619586, 'lat': 36.59967782911543, 'count': 4}\n",
      "112.93555563303435\n",
      "27.83509505297878\n",
      "{'city': '湘潭', 'lng': 112.93555563303435, 'lat': 27.83509505297878, 'count': 4}\n",
      "77.2236309152455\n",
      "36.99301396190364\n",
      "{'city': '叶城', 'lng': 77.2236309152455, 'lat': 36.99301396190364, 'count': 4}\n",
      "119.65606352618298\n",
      "41.40817192288826\n",
      "{'city': '叶柏寿', 'lng': 119.65606352618298, 'lat': 41.40817192288826, 'count': 4}\n",
      "111.80253536997749\n",
      "34.83969142922378\n",
      "{'city': '渑池', 'lng': 111.80253536997749, 'lat': 34.83969142922378, 'count': 4}\n",
      "79.91581373103855\n",
      "37.15334973968139\n",
      "{'city': '和田', 'lng': 79.91581373103855, 'lat': 37.15334973968139, 'count': 4}\n",
      "120.9088728159654\n",
      "30.905748069187133\n",
      "{'city': '嘉善', 'lng': 120.9088728159654, 'lat': 30.905748069187133, 'count': 4}\n",
      "107.34079973802694\n",
      "29.66467054055969\n",
      "{'city': '涪陵', 'lng': 107.34079973802694, 'lat': 29.66467054055969, 'count': 4}\n",
      "102.87062810241994\n",
      "36.349144564469235\n",
      "{'city': '海石湾', 'lng': 102.87062810241994, 'lat': 36.349144564469235, 'count': 4}\n",
      "107.26083703888702\n",
      "33.22358282738842\n",
      "{'city': '城固', 'lng': 107.26083703888702, 'lat': 33.22358282738842, 'count': 4}\n",
      "116.0411312218538\n",
      "35.279400360462056\n",
      "{'city': '巨野', 'lng': 116.0411312218538, 'lat': 35.279400360462056, 'count': 4}\n",
      "110.70853926352623\n",
      "35.63189104909055\n",
      "{'city': '河津', 'lng': 110.70853926352623, 'lat': 35.63189104909055, 'count': 4}\n",
      "112.81271748030389\n",
      "34.16277754545299\n",
      "{'city': '汝州', 'lng': 112.81271748030389, 'lat': 34.16277754545299, 'count': 4}\n",
      "120.46834036334504\n",
      "27.829230528329532\n",
      "{'city': '瑞安', 'lng': 120.46834036334504, 'lat': 27.829230528329532, 'count': 4}\n",
      "110.93620035369767\n",
      "29.39769277103526\n",
      "{'city': '慈利', 'lng': 110.93620035369767, 'lat': 29.39769277103526, 'count': 4}\n",
      "115.50889266701078\n",
      "25.93677166072324\n",
      "{'city': '于都', 'lng': 115.50889266701078, 'lat': 25.93677166072324, 'count': 4}\n",
      "108.07228406064701\n",
      "41.04542666481667\n",
      "{'city': '五原', 'lng': 108.07228406064701, 'lat': 41.04542666481667, 'count': 4}\n",
      "106.0333170396453\n",
      "33.89285120443273\n",
      "{'city': '徽县', 'lng': 106.0333170396453, 'lat': 33.89285120443273, 'count': 4}\n",
      "126.43579767534614\n",
      "41.94585939701795\n",
      "{'city': '白山', 'lng': 126.43579767534614, 'lat': 41.94585939701795, 'count': 4}\n",
      "107.47755892677523\n",
      "26.153657135480728\n",
      "{'city': '都匀', 'lng': 107.47755892677523, 'lat': 26.153657135480728, 'count': 4}\n",
      "124.28377598099235\n",
      "42.47122328912789\n",
      "{'city': '开原', 'lng': 124.28377598099235, 'lat': 42.47122328912789, 'count': 4}\n",
      "102.88967448621588\n",
      "23.68391397560679\n",
      "{'city': '建水', 'lng': 102.88967448621588, 'lat': 23.68391397560679, 'count': 4}\n",
      "108.27286773419205\n",
      "29.359628264893676\n",
      "{'city': '彭水', 'lng': 108.27286773419205, 'lat': 29.359628264893676, 'count': 4}\n",
      "130.70236659183635\n",
      "43.07471934073669\n",
      "{'city': '珲春', 'lng': 130.70236659183635, 'lat': 43.07471934073669, 'count': 4}\n",
      "110.48894872130789\n",
      "34.89467151075451\n",
      "{'city': '永济', 'lng': 110.48894872130789, 'lat': 34.89467151075451, 'count': 4}\n",
      "124.68588222069599\n",
      "43.79182606757778\n",
      "{'city': '公主岭', 'lng': 124.68588222069599, 'lat': 43.79182606757778, 'count': 4}\n",
      "84.92698963494786\n",
      "45.20391924603892\n",
      "{'city': '克拉玛依', 'lng': 84.92698963494786, 'lat': 45.20391924603892, 'count': 4}\n",
      "109.99370625145134\n",
      "39.81648956060153\n",
      "{'city': '鄂尔多斯', 'lng': 109.99370625145134, 'lat': 39.81648956060153, 'count': 4}\n",
      "108.80680823732504\n",
      "28.90527766239135\n",
      "{'city': '酉阳', 'lng': 108.80680823732504, 'lat': 28.90527766239135, 'count': 4}\n",
      "110.77973742779321\n",
      "34.437104010525125\n",
      "{'city': '灵宝', 'lng': 110.77973742779321, 'lat': 34.437104010525125, 'count': 3}\n",
      "117.73475264490037\n",
      "39.81884335578796\n",
      "{'city': '玉田', 'lng': 117.73475264490037, 'lat': 39.81884335578796, 'count': 3}\n",
      "103.51669152582932\n",
      "23.338656934664055\n",
      "{'city': '蒙自', 'lng': 103.51669152582932, 'lat': 23.338656934664055, 'count': 3}\n",
      "112.7196300203622\n",
      "27.28191237682782\n",
      "{'city': '衡山', 'lng': 112.7196300203622, 'lat': 27.28191237682782, 'count': 3}\n",
      "111.79458146238385\n",
      "27.743727453351454\n",
      "{'city': '涟源', 'lng': 111.79458146238385, 'lat': 27.743727453351454, 'count': 3}\n",
      "110.7530153014798\n",
      "36.12430302332448\n",
      "{'city': '桃村', 'lng': 110.7530153014798, 'lat': 36.12430302332448, 'count': 3}\n",
      "117.83195389236255\n",
      "39.33432833068875\n",
      "{'city': '芦台', 'lng': 117.83195389236255, 'lat': 39.33432833068875, 'count': 3}\n",
      "119.72083317224252\n",
      "28.774055561598235\n",
      "{'city': '武义', 'lng': 119.72083317224252, 'lat': 28.774055561598235, 'count': 3}\n",
      "109.91837503137312\n",
      "32.72986467139815\n",
      "{'city': '白河', 'lng': 109.91837503137312, 'lat': 32.72986467139815, 'count': 3}\n",
      "115.32456065214419\n",
      "32.4465735490796\n",
      "{'city': '淮滨', 'lng': 115.32456065214419, 'lat': 32.4465735490796, 'count': 3}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "82.92236170099183\n",
      "44.55756845450912\n",
      "{'city': '精河', 'lng': 82.92236170099183, 'lat': 44.55756845450912, 'count': 3}\n",
      "120.10868352215253\n",
      "28.940176566982796\n",
      "{'city': '永康', 'lng': 120.10868352215253, 'lat': 28.940176566982796, 'count': 3}\n",
      "88.05087055348731\n",
      "46.391693535493246\n",
      "{'city': '福海', 'lng': 88.05087055348731, 'lat': 46.391693535493246, 'count': 3}\n",
      "116.38923597744922\n",
      "38.090278710884434\n",
      "{'city': '泊头', 'lng': 116.38923597744922, 'lat': 38.090278710884434, 'count': 3}\n",
      "77.22640823890102\n",
      "38.12255269910619\n",
      "{'city': '泽普', 'lng': 77.22640823890102, 'lat': 38.12255269910619, 'count': 3}\n",
      "112.8437365271623\n",
      "37.65082468905364\n",
      "{'city': '榆次', 'lng': 112.8437365271623, 'lat': 37.65082468905364, 'count': 3}\n",
      "116.12640309836864\n",
      "24.30457060603053\n",
      "{'city': '梅州', 'lng': 116.12640309836864, 'lat': 24.30457060603053, 'count': 3}\n",
      "113.1340256353934\n",
      "23.035094840514382\n",
      "{'city': '佛山', 'lng': 113.1340256353934, 'lat': 23.035094840514382, 'count': 3}\n",
      "115.05068316392396\n",
      "30.21612712771406\n",
      "{'city': '黄石', 'lng': 115.05068316392396, 'lat': 30.21612712771406, 'count': 3}\n",
      "119.71361557969767\n",
      "40.03289962810107\n",
      "{'city': '山海关', 'lng': 119.71361557969767, 'lat': 40.03289962810107, 'count': 3}\n",
      "115.77931490356178\n",
      "31.47909281966015\n",
      "{'city': '金寨', 'lng': 115.77931490356178, 'lat': 31.47909281966015, 'count': 3}\n",
      "109.33539345630534\n",
      "21.740444343773916\n",
      "{'city': '合浦', 'lng': 109.33539345630534, 'lat': 21.740444343773916, 'count': 3}\n",
      "113.03959002892162\n",
      "34.703798883243074\n",
      "{'city': '巩义', 'lng': 113.03959002892162, 'lat': 34.703798883243074, 'count': 3}\n",
      "104.12947917517464\n",
      "24.68019802556553\n",
      "{'city': '师宗', 'lng': 104.12947917517464, 'lat': 24.68019802556553, 'count': 3}\n",
      "115.88573804862578\n",
      "35.96638912657204\n",
      "{'city': '台前', 'lng': 115.88573804862578, 'lat': 35.96638912657204, 'count': 3}\n",
      "113.37935836429192\n",
      "31.717857608188574\n",
      "{'city': '随州', 'lng': 113.37935836429192, 'lat': 31.717857608188574, 'count': 3}\n",
      "121.01617490317571\n",
      "28.2618389887699\n",
      "{'city': '乐清', 'lng': 121.01617490317571, 'lat': 28.2618389887699, 'count': 3}\n",
      "118.48514716959122\n",
      "27.044913662798578\n",
      "{'city': '建瓯', 'lng': 118.48514716959122, 'lat': 27.044913662798578, 'count': 3}\n",
      "118.73932350857935\n",
      "41.07530376870277\n",
      "{'city': '平泉', 'lng': 118.73932350857935, 'lat': 41.07530376870277, 'count': 3}\n",
      "112.68212831914165\n",
      "38.83887617274653\n",
      "{'city': '原平', 'lng': 112.68212831914165, 'lat': 38.83887617274653, 'count': 3}\n",
      "119.36471289715527\n",
      "30.893949749016134\n",
      "{'city': '广德', 'lng': 119.36471289715527, 'lat': 30.893949749016134, 'count': 3}\n",
      "107.8375173642987\n",
      "29.890595717682068\n",
      "{'city': '丰都', 'lng': 107.8375173642987, 'lat': 29.890595717682068, 'count': 3}\n",
      "90.6559041201318\n",
      "42.38370438347392\n",
      "{'city': '鄯善', 'lng': 90.6559041201318, 'lat': 42.38370438347392, 'count': 3}\n",
      "109.93959920980721\n",
      "30.578575985622745\n",
      "{'city': '建始', 'lng': 109.93959920980721, 'lat': 30.578575985622745, 'count': 3}\n",
      "114.94956939747928\n",
      "30.518802478735637\n",
      "{'city': '黄州', 'lng': 114.94956939747928, 'lat': 30.518802478735637, 'count': 3}\n",
      "83.23110039646029\n",
      "43.81673094906465\n",
      "{'city': '尼勒克', 'lng': 83.23110039646029, 'lat': 43.81673094906465, 'count': 3}\n",
      "129.8604467574942\n",
      "44.40840449937744\n",
      "{'city': '东安', 'lng': 129.8604467574942, 'lat': 44.40840449937744, 'count': 3}\n",
      "108.71480796401747\n",
      "29.44098103358439\n",
      "{'city': '黔江', 'lng': 108.71480796401747, 'lat': 29.44098103358439, 'count': 3}\n",
      "116.25351835627968\n",
      "30.10821663508268\n",
      "{'city': '宿松', 'lng': 116.25351835627968, 'lat': 30.10821663508268, 'count': 3}\n",
      "120.85869935734087\n",
      "40.75020158786185\n",
      "{'city': '天义', 'lng': 120.85869935734087, 'lat': 40.75020158786185, 'count': 3}\n",
      "121.22191927301837\n",
      "28.857388590573088\n",
      "{'city': '临海', 'lng': 121.22191927301837, 'lat': 28.857388590573088, 'count': 3}\n",
      "129.8343107602306\n",
      "43.03054892372987\n",
      "{'city': '图们', 'lng': 129.8343107602306, 'lat': 43.03054892372987, 'count': 3}\n",
      "116.28967015726496\n",
      "39.35110594099413\n",
      "{'city': '固安', 'lng': 116.28967015726496, 'lat': 39.35110594099413, 'count': 3}\n",
      "117.78748504184291\n",
      "29.327231721147932\n",
      "{'city': '婺源', 'lng': 117.78748504184291, 'lat': 29.327231721147932, 'count': 3}\n",
      "106.28526799598252\n",
      "36.02152348070926\n",
      "{'city': '固原', 'lng': 106.28526799598252, 'lat': 36.02152348070926, 'count': 3}\n",
      "116.28046547318645\n",
      "40.13401296746962\n",
      "{'city': '四合永', 'lng': 116.28046547318645, 'lat': 40.13401296746962, 'count': 3}\n",
      "116.2583703354677\n",
      "39.84193785220474\n",
      "{'city': '丰台', 'lng': 116.2583703354677, 'lat': 39.84193785220474, 'count': 3}\n",
      "107.1466153713222\n",
      "29.960491355030268\n",
      "{'city': '长寿', 'lng': 107.1466153713222, 'lat': 29.960491355030268, 'count': 3}\n",
      "116.30729105899024\n",
      "35.434199027209324\n",
      "{'city': '嘉祥', 'lng': 116.30729105899024, 'lat': 35.434199027209324, 'count': 3}\n",
      "121.67796628922625\n",
      "38.900436431991984\n",
      "{'city': '中山', 'lng': 121.67796628922625, 'lat': 38.900436431991984, 'count': 3}\n",
      "114.30006059206065\n",
      "29.88065675772815\n",
      "{'city': '咸宁', 'lng': 114.30006059206065, 'lat': 29.88065675772815, 'count': 3}\n",
      "87.58871647732528\n",
      "42.1410760673274\n",
      "{'city': '和硕', 'lng': 87.58871647732528, 'lat': 42.1410760673274, 'count': 3}\n",
      "100.22962839887937\n",
      "26.875351089481363\n",
      "{'city': '丽江', 'lng': 100.22962839887937, 'lat': 26.875351089481363, 'count': 3}\n",
      "123.85484961461594\n",
      "42.29975701212545\n",
      "{'city': '铁岭', 'lng': 123.85484961461594, 'lat': 42.29975701212545, 'count': 3}\n",
      "119.57974844021628\n",
      "45.528106056329776\n",
      "{'city': '霍林郭勒', 'lng': 119.57974844021628, 'lat': 45.528106056329776, 'count': 3}\n",
      "120.52110561990881\n",
      "36.48790860159858\n",
      "{'city': '即墨北', 'lng': 120.52110561990881, 'lat': 36.48790860159858, 'count': 3}\n",
      "109.42357994353087\n",
      "32.902076990198\n",
      "{'city': '旬阳', 'lng': 109.42357994353087, 'lat': 32.902076990198, 'count': 3}\n",
      "111.9661784137779\n",
      "43.4177804582257\n",
      "{'city': '二连浩特', 'lng': 111.9661784137779, 'lat': 43.4177804582257, 'count': 3}\n",
      "94.15804176645081\n",
      "40.38877149934441\n",
      "{'city': '敦煌', 'lng': 94.15804176645081, 'lat': 40.38877149934441, 'count': 3}\n",
      "104.85783724276915\n",
      "25.002543765436346\n",
      "{'city': '兴义', 'lng': 104.85783724276915, 'lat': 25.002543765436346, 'count': 3}\n",
      "118.515881846623\n",
      "31.688528158880025\n",
      "{'city': '马鞍山', 'lng': 118.515881846623, 'lat': 31.688528158880025, 'count': 3}\n",
      "87.93773812878268\n",
      "47.27959189346318\n",
      "{'city': '北屯', 'lng': 87.93773812878268, 'lat': 47.27959189346318, 'count': 3}\n",
      "115.74000746167843\n",
      "38.2230592410421\n",
      "{'city': '饶阳', 'lng': 115.74000746167843, 'lat': 38.2230592410421, 'count': 3}\n",
      "121.3369687810281\n",
      "31.230824701233697\n",
      "{'city': '上海虹桥', 'lng': 121.3369687810281, 'lat': 31.230824701233697, 'count': 3}\n",
      "120.96580778410554\n",
      "31.32893679549736\n",
      "{'city': '昆山', 'lng': 120.96580778410554, 'lat': 31.32893679549736, 'count': 3}\n",
      "118.77807440802562\n",
      "32.05723550180587\n",
      "{'city': '南京南', 'lng': 118.77807440802562, 'lat': 32.05723550180587, 'count': 3}\n",
      "115.29874950520801\n",
      "37.924121876409345\n",
      "{'city': '辛集', 'lng': 115.29874950520801, 'lat': 37.924121876409345, 'count': 3}\n",
      "130.2443753363412\n",
      "47.233710065720295\n",
      "{'city': '兴安', 'lng': 130.2443753363412, 'lat': 47.233710065720295, 'count': 3}\n",
      "115.5068393538078\n",
      "27.7385799192104\n",
      "{'city': '新干', 'lng': 115.5068393538078, 'lat': 27.7385799192104, 'count': 3}\n",
      "120.0498313898519\n",
      "30.56758288104248\n",
      "{'city': '德清', 'lng': 120.0498313898519, 'lat': 30.56758288104248, 'count': 3}\n",
      "122.21603953088392\n",
      "39.651792833683544\n",
      "{'city': '普兰店', 'lng': 122.21603953088392, 'lat': 39.651792833683544, 'count': 3}\n",
      "127.8595633103331\n",
      "42.78803645005073\n",
      "{'city': '松江河', 'lng': 127.8595633103331, 'lat': 42.78803645005073, 'count': 3}\n",
      "121.51266780551569\n",
      "49.32999593959703\n",
      "{'city': '牙克石', 'lng': 121.51266780551569, 'lat': 49.32999593959703, 'count': 2}\n",
      "104.20564932849953\n",
      "36.501821828710106\n",
      "{'city': '白银西', 'lng': 104.20564932849953, 'lat': 36.501821828710106, 'count': 2}\n",
      "110.76653283748148\n",
      "33.411702755167845\n",
      "{'city': '商南', 'lng': 110.76653283748148, 'lat': 33.411702755167845, 'count': 2}\n",
      "113.56923760163296\n",
      "37.86952949322259\n",
      "{'city': '阳泉北', 'lng': 113.56923760163296, 'lat': 37.86952949322259, 'count': 2}\n",
      "108.41762068739072\n",
      "22.924530825242623\n",
      "{'city': '兴宁', 'lng': 108.41762068739072, 'lat': 22.924530825242623, 'count': 2}\n",
      "106.16283351203505\n",
      "33.38537353380397\n",
      "{'city': '略阳', 'lng': 106.16283351203505, 'lat': 33.38537353380397, 'count': 2}\n",
      "109.93420815379513\n",
      "33.87390739508516\n",
      "{'city': '商洛', 'lng': 109.93420815379513, 'lat': 33.87390739508516, 'count': 2}\n",
      "107.56375230977895\n",
      "25.636840589582594\n",
      "{'city': '独山', 'lng': 107.56375230977895, 'lat': 25.636840589582594, 'count': 2}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "107.19163711740768\n",
      "23.614585367816996\n",
      "{'city': '田东', 'lng': 107.19163711740768, 'lat': 23.614585367816996, 'count': 2}\n",
      "113.6524812712031\n",
      "26.806729309467293\n",
      "{'city': '茶陵', 'lng': 113.6524812712031, 'lat': 26.806729309467293, 'count': 2}\n",
      "112.74030934124376\n",
      "33.74869738819129\n",
      "{'city': '鲁山', 'lng': 112.74030934124376, 'lat': 33.74869738819129, 'count': 2}\n",
      "108.35179115286083\n",
      "21.61739847047181\n",
      "{'city': '防城港', 'lng': 108.35179115286083, 'lat': 21.61739847047181, 'count': 2}\n",
      "115.30448193078216\n",
      "28.36523180795649\n",
      "{'city': '高安', 'lng': 115.30448193078216, 'lat': 28.36523180795649, 'count': 2}\n",
      "110.41435935151284\n",
      "19.21483036861679\n",
      "{'city': '琼海', 'lng': 110.41435935151284, 'lat': 19.21483036861679, 'count': 2}\n",
      "100.19122429387708\n",
      "39.34703167444593\n",
      "{'city': '临泽', 'lng': 100.19122429387708, 'lat': 39.34703167444593, 'count': 2}\n",
      "120.47392692165361\n",
      "32.553985066143284\n",
      "{'city': '海安', 'lng': 120.47392692165361, 'lat': 32.553985066143284, 'count': 2}\n",
      "105.73720221998492\n",
      "27.253059626031487\n",
      "{'city': '大方', 'lng': 105.73720221998492, 'lat': 27.253059626031487, 'count': 2}\n",
      "111.49394197481614\n",
      "27.684914712556072\n",
      "{'city': '冷水江', 'lng': 111.49394197481614, 'lat': 27.684914712556072, 'count': 2}\n",
      "124.2757801644583\n",
      "42.50855704819172\n",
      "{'city': '清河', 'lng': 124.2757801644583, 'lat': 42.50855704819172, 'count': 2}\n",
      "115.75767748261335\n",
      "37.461024106053756\n",
      "{'city': '枣强', 'lng': 115.75767748261335, 'lat': 37.461024106053756, 'count': 2}\n",
      "103.84142956286796\n",
      "30.06111507994454\n",
      "{'city': '眉山', 'lng': 103.84142956286796, 'lat': 30.06111507994454, 'count': 2}\n",
      "117.60368677619397\n",
      "49.500031717154286\n",
      "{'city': '满洲里', 'lng': 117.60368677619397, 'lat': 49.500031717154286, 'count': 2}\n",
      "120.02660867811394\n",
      "34.09231717639178\n",
      "{'city': '滨海', 'lng': 120.02660867811394, 'lat': 34.09231717639178, 'count': 2}\n",
      "118.22571531704675\n",
      "37.191353845809594\n",
      "{'city': '博兴', 'lng': 118.22571531704675, 'lat': 37.191353845809594, 'count': 2}\n",
      "119.38283894830988\n",
      "31.42524193101212\n",
      "{'city': '溧阳', 'lng': 119.38283894830988, 'lat': 31.42524193101212, 'count': 2}\n",
      "77.0148331640723\n",
      "38.322587836687376\n",
      "{'city': '莎车', 'lng': 77.0148331640723, 'lat': 38.322587836687376, 'count': 2}\n",
      "116.50036153347828\n",
      "27.114896155720853\n",
      "{'city': '南丰', 'lng': 116.50036153347828, 'lat': 27.114896155720853, 'count': 2}\n",
      "105.96146159918376\n",
      "37.94212474288449\n",
      "{'city': '青铜峡', 'lng': 105.96146159918376, 'lat': 37.94212474288449, 'count': 2}\n",
      "112.35516854770837\n",
      "27.77667974388013\n",
      "{'city': '湘乡', 'lng': 112.35516854770837, 'lat': 27.77667974388013, 'count': 2}\n",
      "117.33811055639565\n",
      "23.98492459087065\n",
      "{'city': '云霄', 'lng': 117.33811055639565, 'lat': 23.98492459087065, 'count': 2}\n",
      "119.47932079421292\n",
      "39.854292584186524\n",
      "{'city': '北戴河', 'lng': 119.47932079421292, 'lat': 39.854292584186524, 'count': 2}\n",
      "105.46859233328205\n",
      "28.099206628495736\n",
      "{'city': '叙永', 'lng': 105.46859233328205, 'lat': 28.099206628495736, 'count': 2}\n",
      "127.11154600578443\n",
      "48.11594572395296\n",
      "{'city': '北安', 'lng': 127.11154600578443, 'lat': 48.11594572395296, 'count': 2}\n",
      "106.98760176611911\n",
      "30.948814160650215\n",
      "{'city': '渠县', 'lng': 106.98760176611911, 'lat': 30.948814160650215, 'count': 2}\n",
      "118.40033677253352\n",
      "37.655326413662806\n",
      "{'city': '利津南', 'lng': 118.40033677253352, 'lat': 37.655326413662806, 'count': 2}\n",
      "108.82709975352698\n",
      "30.239967021929914\n",
      "{'city': '利川', 'lng': 108.82709975352698, 'lat': 30.239967021929914, 'count': 2}\n",
      "126.43579767534614\n",
      "41.94585939701795\n",
      "{'city': '白山市', 'lng': 126.43579767534614, 'lat': 41.94585939701795, 'count': 2}\n",
      "107.04976116152339\n",
      "37.625336523187585\n",
      "{'city': '盐池', 'lng': 107.04976116152339, 'lat': 37.625336523187585, 'count': 2}\n",
      "87.56498774111579\n",
      "43.84038034721766\n",
      "{'city': '乌鲁木齐南', 'lng': 87.56498774111579, 'lat': 43.84038034721766, 'count': 2}\n",
      "118.28821596372245\n",
      "30.895981862699717\n",
      "{'city': '南陵', 'lng': 118.28821596372245, 'lat': 30.895981862699717, 'count': 2}\n",
      "119.24943283239615\n",
      "35.744382733587585\n",
      "{'city': '五莲', 'lng': 119.24943283239615, 'lat': 35.744382733587585, 'count': 2}\n",
      "115.58669880842099\n",
      "37.95701286270159\n",
      "{'city': '深州', 'lng': 115.58669880842099, 'lat': 37.95701286270159, 'count': 2}\n",
      "113.30867650253073\n",
      "40.558336025296484\n",
      "{'city': '丰镇', 'lng': 113.30867650253073, 'lat': 40.558336025296484, 'count': 2}\n",
      "75.25863811178208\n",
      "38.63249432799387\n",
      "{'city': '阿克陶', 'lng': 75.25863811178208, 'lat': 38.63249432799387, 'count': 2}\n",
      "115.47270351635737\n",
      "38.88240682211786\n",
      "{'city': '大杨树', 'lng': 115.47270351635737, 'lat': 38.88240682211786, 'count': 2}\n",
      "113.30084897797529\n",
      "33.74530145652439\n",
      "{'city': '平顶山西', 'lng': 113.30084897797529, 'lat': 33.74530145652439, 'count': 2}\n",
      "114.89559404135665\n",
      "30.384439322752247\n",
      "{'city': '鄂州', 'lng': 114.89559404135665, 'lat': 30.384439322752247, 'count': 2}\n",
      "115.74247538365522\n",
      "29.14131062324219\n",
      "{'city': '永修', 'lng': 115.74247538365522, 'lat': 29.14131062324219, 'count': 2}\n",
      "126.89712924927524\n",
      "47.44726960483674\n",
      "{'city': '海伦', 'lng': 126.89712924927524, 'lat': 47.44726960483674, 'count': 2}\n",
      "120.19830746411914\n",
      "27.224828701233616\n",
      "{'city': '福鼎', 'lng': 120.19830746411914, 'lat': 27.224828701233616, 'count': 2}\n",
      "116.58133068117093\n",
      "36.91914288959309\n",
      "{'city': '禹城', 'lng': 116.58133068117093, 'lat': 36.91914288959309, 'count': 2}\n",
      "106.59428466727724\n",
      "23.38221450982587\n",
      "{'city': '德保', 'lng': 106.59428466727724, 'lat': 23.38221450982587, 'count': 2}\n",
      "112.18024001499298\n",
      "23.974272952942318\n",
      "{'city': '怀集', 'lng': 112.18024001499298, 'lat': 23.974272952942318, 'count': 2}\n",
      "120.8798664265133\n",
      "30.00645910703046\n",
      "{'city': '上虞', 'lng': 120.8798664265133, 'lat': 30.00645910703046, 'count': 2}\n",
      "105.69804091113788\n",
      "34.95349991991774\n",
      "{'city': '秦安', 'lng': 105.69804091113788, 'lat': 34.95349991991774, 'count': 2}\n",
      "110.9094473233273\n",
      "24.949325584116984\n",
      "{'city': '恭城', 'lng': 110.9094473233273, 'lat': 24.949325584116984, 'count': 2}\n",
      "111.85672034136176\n",
      "27.1936536894769\n",
      "{'city': '邵东', 'lng': 111.85672034136176, 'lat': 27.1936536894769, 'count': 2}\n",
      "118.80947288339323\n",
      "24.991871443314984\n",
      "{'city': '惠安', 'lng': 118.80947288339323, 'lat': 24.991871443314984, 'count': 2}\n",
      "123.92981976705381\n",
      "41.8773038295909\n",
      "{'city': '抚顺', 'lng': 123.92981976705381, 'lat': 41.8773038295909, 'count': 2}\n",
      "104.03093981246279\n",
      "23.416009535072305\n",
      "{'city': '文山', 'lng': 104.03093981246279, 'lat': 23.416009535072305, 'count': 2}\n",
      "115.42134592030548\n",
      "28.002513613496202\n",
      "{'city': '樟树', 'lng': 115.42134592030548, 'lat': 28.002513613496202, 'count': 2}\n",
      "81.98521627667363\n",
      "41.3656997036357\n",
      "{'city': '新和', 'lng': 81.98521627667363, 'lat': 41.3656997036357, 'count': 2}\n",
      "106.7091770961758\n",
      "26.62990674144093\n",
      "{'city': '贵阳北', 'lng': 106.7091770961758, 'lat': 26.62990674144093, 'count': 2}\n",
      "109.16874105929666\n",
      "27.23450910911213\n",
      "{'city': '新晃', 'lng': 109.16874105929666, 'lat': 27.23450910911213, 'count': 2}\n",
      "107.72542817192878\n",
      "30.66436343528977\n",
      "{'city': '梁平', 'lng': 107.72542817192878, 'lat': 30.66436343528977, 'count': 2}\n",
      "117.02128418408721\n",
      "39.96742764877024\n",
      "{'city': '三河', 'lng': 117.02128418408721, 'lat': 39.96742764877024, 'count': 2}\n",
      "130.6370154209587\n",
      "46.306671717134314\n",
      "{'city': '桦南', 'lng': 130.6370154209587, 'lat': 46.306671717134314, 'count': 2}\n",
      "109.68086206912255\n",
      "42.207108995200656\n",
      "{'city': '桑根达来', 'lng': 109.68086206912255, 'lat': 42.207108995200656, 'count': 2}\n",
      "104.13047581156435\n",
      "24.119211322138526\n",
      "{'city': '普者黑', 'lng': 104.13047581156435, 'lat': 24.119211322138526, 'count': 2}\n",
      "118.68695461732042\n",
      "40.04044251326034\n",
      "{'city': '迁安', 'lng': 118.68695461732042, 'lat': 40.04044251326034, 'count': 2}\n",
      "124.83299453234117\n",
      "45.136048970084005\n",
      "{'city': '松原', 'lng': 124.83299453234117, 'lat': 45.136048970084005, 'count': 2}\n",
      "102.00072626456326\n",
      "26.932749356485356\n",
      "{'city': '米易', 'lng': 102.00072626456326, 'lat': 26.932749356485356, 'count': 2}\n",
      "112.34312135278857\n",
      "28.69406942889747\n",
      "{'city': '资阳', 'lng': 112.34312135278857, 'lat': 28.69406942889747, 'count': 2}\n",
      "114.4268933499956\n",
      "40.67656937927395\n",
      "{'city': '柴沟堡', 'lng': 114.4268933499956, 'lat': 40.67656937927395, 'count': 2}\n",
      "110.87692675414752\n",
      "37.403754146297516\n",
      "{'city': '柳林', 'lng': 110.87692675414752, 'lat': 37.403754146297516, 'count': 2}\n",
      "110.86693418361835\n",
      "39.18727246627244\n",
      "{'city': '府谷', 'lng': 110.86693418361835, 'lat': 39.18727246627244, 'count': 2}\n",
      "125.07655310393982\n",
      "48.48145338881144\n",
      "{'city': '讷河', 'lng': 125.07655310393982, 'lat': 48.48145338881144, 'count': 2}\n",
      "107.29465888576985\n",
      "22.005062342038638\n",
      "{'city': '宁明', 'lng': 107.29465888576985, 'lat': 22.005062342038638, 'count': 2}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "112.58482623118623\n",
      "31.244981073963892\n",
      "{'city': '钟祥', 'lng': 112.58482623118623, 'lat': 31.244981073963892, 'count': 2}\n",
      "112.9215515180963\n",
      "26.42399279341667\n",
      "{'city': '耒阳', 'lng': 112.9215515180963, 'lat': 26.42399279341667, 'count': 2}\n",
      "112.5508635890553\n",
      "37.89027705396754\n",
      "{'city': '太原南', 'lng': 112.5508635890553, 'lat': 37.89027705396754, 'count': 2}\n",
      "121.42129377822225\n",
      "29.60351955274471\n",
      "{'city': '奉化', 'lng': 121.42129377822225, 'lat': 29.60351955274471, 'count': 2}\n",
      "125.7712750896317\n",
      "49.621866015064384\n",
      "{'city': '嫩江', 'lng': 125.7712750896317, 'lat': 49.621866015064384, 'count': 2}\n",
      "108.47588809326766\n",
      "27.12162959684439\n",
      "{'city': '镇远', 'lng': 108.47588809326766, 'lat': 27.12162959684439, 'count': 2}\n",
      "105.44397028920636\n",
      "28.895929803860103\n",
      "{'city': '泸州', 'lng': 105.44397028920636, 'lat': 28.895929803860103, 'count': 2}\n",
      "111.97259355447459\n",
      "26.460846002508074\n",
      "{'city': '祁阳', 'lng': 111.97259355447459, 'lat': 26.460846002508074, 'count': 2}\n",
      "117.68244768553613\n",
      "35.434249996000986\n",
      "{'city': '平邑', 'lng': 117.68244768553613, 'lat': 35.434249996000986, 'count': 2}\n",
      "118.66377687789947\n",
      "30.16240108114428\n",
      "{'city': '绩溪县', 'lng': 118.66377687789947, 'lat': 30.16240108114428, 'count': 2}\n",
      "104.62663760066474\n",
      "35.586056241828416\n",
      "{'city': '定西', 'lng': 104.62663760066474, 'lat': 35.586056241828416, 'count': 2}\n",
      "108.54655227960491\n",
      "24.481176748089286\n",
      "{'city': '宜州', 'lng': 108.54655227960491, 'lat': 24.481176748089286, 'count': 2}\n",
      "108.6387980564235\n",
      "21.973350465312727\n",
      "{'city': '钦州', 'lng': 108.6387980564235, 'lat': 21.973350465312727, 'count': 2}\n",
      "120.58014398499533\n",
      "32.2736162726057\n",
      "{'city': '如皋', 'lng': 120.58014398499533, 'lat': 32.2736162726057, 'count': 2}\n",
      "128.31617023053957\n",
      "45.08389301111806\n",
      "{'city': '尚志', 'lng': 128.31617023053957, 'lat': 45.08389301111806, 'count': 2}\n",
      "118.60935780958131\n",
      "35.91436862936633\n",
      "{'city': '沂水', 'lng': 118.60935780958131, 'lat': 35.91436862936633, 'count': 2}\n",
      "107.1673574997565\n",
      "31.59771477028039\n",
      "{'city': '平昌', 'lng': 107.1673574997565, 'lat': 31.59771477028039, 'count': 2}\n",
      "116.43007889017849\n",
      "37.156617614138355\n",
      "{'city': '平原', 'lng': 116.43007889017849, 'lat': 37.156617614138355, 'count': 2}\n",
      "119.98186101345706\n",
      "31.771396744684242\n",
      "{'city': '常州北', 'lng': 119.98186101345706, 'lat': 31.771396744684242, 'count': 2}\n",
      "113.07812534115365\n",
      "22.57511678345104\n",
      "{'city': '江门', 'lng': 113.07812534115365, 'lat': 22.57511678345104, 'count': 2}\n",
      "111.75249569192155\n",
      "24.97764212279621\n",
      "{'city': '江华', 'lng': 111.75249569192155, 'lat': 24.97764212279621, 'count': 2}\n",
      "103.40091230855559\n",
      "29.50700404085018\n",
      "{'city': '峨眉山', 'lng': 103.40091230855559, 'lat': 29.50700404085018, 'count': 2}\n",
      "114.28309250178685\n",
      "36.93863545934609\n",
      "{'city': '沙河', 'lng': 114.28309250178685, 'lat': 36.93863545934609, 'count': 2}\n",
      "127.11677230894627\n",
      "44.33546514415817\n",
      "{'city': '舒兰', 'lng': 127.11677230894627, 'lat': 44.33546514415817, 'count': 1}\n",
      "104.34927875646206\n",
      "24.983157127291246\n",
      "{'city': '罗平', 'lng': 104.34927875646206, 'lat': 24.983157127291246, 'count': 1}\n",
      "117.80759027663238\n",
      "24.398816824822557\n",
      "{'city': '龙海', 'lng': 117.80759027663238, 'lat': 24.398816824822557, 'count': 1}\n",
      "123.08910277314848\n",
      "47.25889503104764\n",
      "{'city': '龙江', 'lng': 123.08910277314848, 'lat': 47.25889503104764, 'count': 1}\n",
      "119.07964014908332\n",
      "39.40506863778269\n",
      "{'city': '黄口', 'lng': 119.07964014908332, 'lat': 39.40506863778269, 'count': 1}\n",
      "106.11328295035729\n",
      "31.918551658673035\n",
      "{'city': '苍溪', 'lng': 106.11328295035729, 'lat': 31.918551658673035, 'count': 1}\n",
      "115.36229172073537\n",
      "24.334679775760726\n",
      "{'city': '龙川', 'lng': 115.36229172073537, 'lat': 24.334679775760726, 'count': 1}\n",
      "122.17689658107587\n",
      "40.2525844844599\n",
      "{'city': '鲅鱼圈', 'lng': 122.17689658107587, 'lat': 40.2525844844599, 'count': 1}\n",
      "100.2771745015428\n",
      "26.335453610599846\n",
      "{'city': '鹤庆', 'lng': 100.2771745015428, 'lat': 26.335453610599846, 'count': 1}\n",
      "114.15639529324217\n",
      "22.58193447884779\n",
      "{'city': '罗湖', 'lng': 114.15639529324217, 'lat': 22.58193447884779, 'count': 1}\n",
      "118.66377687789947\n",
      "30.16240108114428\n",
      "{'city': '绩溪', 'lng': 118.66377687789947, 'lat': 30.16240108114428, 'count': 1}\n",
      "120.5227995064041\n",
      "37.61040128167655\n",
      "{'city': '龙口', 'lng': 120.5227995064041, 'lat': 37.61040128167655, 'count': 1}\n",
      "114.9066180465751\n",
      "30.446108937901133\n",
      "{'city': '黄冈', 'lng': 114.9066180465751, 'lat': 30.446108937901133, 'count': 1}\n",
      "114.60738469340112\n",
      "37.62265087075653\n",
      "{'city': '高邑', 'lng': 114.60738469340112, 'lat': 37.62265087075653, 'count': 1}\n",
      "127.50083029523519\n",
      "50.250690090738274\n",
      "{'city': '黑河', 'lng': 127.50083029523519, 'lat': 50.250690090738274, 'count': 1}\n",
      "120.19188183536475\n",
      "28.666326291230707\n",
      "{'city': '缙云', 'lng': 120.19188183536475, 'lat': 28.666326291230707, 'count': 1}\n",
      "109.07459054884923\n",
      "26.157513516968482\n",
      "{'city': '黎平', 'lng': 109.07459054884923, 'lat': 26.157513516968482, 'count': 1}\n",
      "117.6615540506832\n",
      "40.553210242004\n",
      "{'city': '鹰手营子', 'lng': 117.6615540506832, 'lat': 40.553210242004, 'count': 1}\n",
      "114.73182493834003\n",
      "24.77270619858914\n",
      "{'city': '龙南', 'lng': 114.73182493834003, 'lat': 24.77270619858914, 'count': 1}\n",
      "127.71941343153793\n",
      "47.584142706970724\n",
      "{'city': '绥棱', 'lng': 127.71941343153793, 'lat': 47.584142706970724, 'count': 1}\n",
      "131.102456532855\n",
      "44.40800517458697\n",
      "{'city': '绥芬河', 'lng': 131.102456532855, 'lat': 44.40800517458697, 'count': 1}\n",
      "114.72843047642958\n",
      "36.24491164822494\n",
      "{'city': '黄村', 'lng': 114.72843047642958, 'lat': 36.24491164822494, 'count': 1}\n",
      "118.9307611921676\n",
      "42.297112320317325\n",
      "{'city': '赤峰市', 'lng': 118.9307611921676, 'lat': 42.297112320317325, 'count': 1}\n",
      "99.60752137380483\n",
      "39.54167477274971\n",
      "{'city': '高台', 'lng': 99.60752137380483, 'lat': 39.54167477274971, 'count': 1}\n",
      "129.22725517858797\n",
      "47.50096203814344\n",
      "{'city': '西林', 'lng': 129.22725517858797, 'lat': 47.50096203814344, 'count': 1}\n",
      "133.12110607260752\n",
      "45.997276203515085\n",
      "{'city': '虎林', 'lng': 133.12110607260752, 'lat': 45.997276203515085, 'count': 1}\n",
      "120.72386168988544\n",
      "31.164334797039736\n",
      "{'city': '长庆桥', 'lng': 120.72386168988544, 'lat': 31.164334797039736, 'count': 1}\n",
      "117.35707986587582\n",
      "32.92949890669797\n",
      "{'city': '蚌埠南', 'lng': 117.35707986587582, 'lat': 32.92949890669797, 'count': 1}\n",
      "127.35174186542181\n",
      "43.716756082246306\n",
      "{'city': '蛟河', 'lng': 127.35174186542181, 'lat': 43.716756082246306, 'count': 1}\n",
      "109.05786347352917\n",
      "25.343698638546847\n",
      "{'city': '融水', 'lng': 109.05786347352917, 'lat': 25.343698638546847, 'count': 1}\n",
      "123.45227210722489\n",
      "45.95617192379575\n",
      "{'city': '镇赉', 'lng': 123.45227210722489, 'lat': 45.95617192379575, 'count': 1}\n",
      "109.07737051731597\n",
      "33.380938764863316\n",
      "{'city': '镇安', 'lng': 109.07737051731597, 'lat': 33.380938764863316, 'count': 1}\n",
      "128.55251746526525\n",
      "46.86632868237623\n",
      "{'city': '铁力', 'lng': 128.55251746526525, 'lat': 46.86632868237623, 'count': 1}\n",
      "112.17632579650555\n",
      "32.094933645820944\n",
      "{'city': '襄樊', 'lng': 112.17632579650555, 'lat': 32.094933645820944, 'count': 1}\n",
      "114.58251813663004\n",
      "30.526441057164064\n",
      "{'city': '金罗', 'lng': 114.58251813663004, 'lat': 30.526441057164064, 'count': 1}\n",
      "107.87344356952086\n",
      "24.66076206943251\n",
      "{'city': '金城江', 'lng': 107.87344356952086, 'lat': 24.66076206943251, 'count': 1}\n",
      "103.63734201320867\n",
      "31.039123659727668\n",
      "{'city': '都江堰', 'lng': 103.63734201320867, 'lat': 31.039123659727668, 'count': 1}\n",
      "118.12458664543911\n",
      "24.44026193064773\n",
      "{'city': '蔡家坡', 'lng': 118.12458664543911, 'lat': 24.44026193064773, 'count': 1}\n",
      "118.3244306584074\n",
      "34.64985505351179\n",
      "{'city': '郯城', 'lng': 118.3244306584074, 'lat': 34.64985505351179, 'count': 1}\n",
      "111.49595776172735\n",
      "32.17345155939248\n",
      "{'city': '谷城', 'lng': 111.49595776172735, 'lat': 32.17345155939248, 'count': 1}\n",
      "107.20390365281358\n",
      "26.433663747077368\n",
      "{'city': '贵定', 'lng': 107.20390365281358, 'lat': 26.433663747077368, 'count': 1}\n",
      "117.4805722285434\n",
      "27.23519706961062\n",
      "{'city': '邵武', 'lng': 117.4805722285434, 'lat': 27.23519706961062, 'count': 1}\n",
      "105.19397766216413\n",
      "35.21347376285099\n",
      "{'city': '通渭', 'lng': 105.19397766216413, 'lat': 35.21347376285099, 'count': 1}\n",
      "119.17387221741889\n",
      "34.60154896700999\n",
      "{'city': '连云港东', 'lng': 119.17387221741889, 'lat': 34.60154896700999, 'count': 1}\n",
      "104.80746566887902\n",
      "29.81383623500208\n",
      "{'city': '资中', 'lng': 104.80746566887902, 'lat': 29.81383623500208, 'count': 1}\n",
      "102.62868133559736\n",
      "28.592190495109417\n",
      "{'city': '越西', 'lng': 102.62868133559736, 'lat': 28.592190495109417, 'count': 1}\n",
      "106.72706496395953\n",
      "28.747751473853942\n",
      "{'city': '赶水', 'lng': 106.72706496395953, 'lat': 28.747751473853942, 'count': 1}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "113.88916760652864\n",
      "29.74256074103552\n",
      "{'city': '赤壁', 'lng': 113.88916760652864, 'lat': 29.74256074103552, 'count': 1}\n",
      "112.9793527876505\n",
      "28.21347823085322\n",
      "{'city': '长沙南', 'lng': 112.9793527876505, 'lat': 28.21347823085322, 'count': 1}\n",
      "106.4289173352123\n",
      "31.007075500318262\n",
      "{'city': '蓬安', 'lng': 106.4289173352123, 'lat': 31.007075500318262, 'count': 1}\n",
      "76.36870851197426\n",
      "38.800015263145475\n",
      "{'city': '英吉沙', 'lng': 76.36870851197426, 'lat': 38.800015263145475, 'count': 1}\n",
      "116.85123400251861\n",
      "38.56577832855556\n",
      "{'city': '青县', 'lng': 116.85123400251861, 'lat': 38.56577832855556, 'count': 1}\n",
      "113.28237171204177\n",
      "23.07932605598971\n",
      "{'city': '马兰', 'lng': 113.28237171204177, 'lat': 23.07932605598971, 'count': 1}\n",
      "117.05130555355426\n",
      "39.74310003286535\n",
      "{'city': '香河', 'lng': 117.05130555355426, 'lat': 39.74310003286535, 'count': 1}\n",
      "133.7292586824959\n",
      "47.07262854285675\n",
      "{'city': '饶河', 'lng': 133.7292586824959, 'lat': 47.07262854285675, 'count': 1}\n",
      "113.18702987687799\n",
      "22.848510084787446\n",
      "{'city': '顺德', 'lng': 113.18702987687799, 'lat': 22.848510084787446, 'count': 1}\n",
      "116.72822904528138\n",
      "40.154951470441354\n",
      "{'city': '顺义', 'lng': 116.72822904528138, 'lat': 40.154951470441354, 'count': 1}\n",
      "114.89338047632585\n",
      "33.27447032279819\n",
      "{'city': '项城', 'lng': 114.89338047632585, 'lat': 33.27447032279819, 'count': 1}\n",
      "123.0077633288837\n",
      "41.118743682153465\n",
      "{'city': '鞍山市', 'lng': 123.0077633288837, 'lat': 41.118743682153465, 'count': 1}\n",
      "102.64723536798147\n",
      "25.0080804509926\n",
      "{'city': '草海', 'lng': 102.64723536798147, 'lat': 25.0080804509926, 'count': 1}\n",
      "106.32109506453793\n",
      "23.149605901750473\n",
      "{'city': '靖西', 'lng': 106.32109506453793, 'lat': 23.149605901750473, 'count': 1}\n",
      "109.59083349436459\n",
      "26.550430723333214\n",
      "{'city': '靖州', 'lng': 109.59083349436459, 'lat': 26.550430723333214, 'count': 1}\n",
      "120.14673815821568\n",
      "28.20842862351486\n",
      "{'city': '青田', 'lng': 120.14673815821568, 'lat': 28.20842862351486, 'count': 1}\n",
      "116.17352091074682\n",
      "32.201507325966666\n",
      "{'city': '霍邱', 'lng': 116.17352091074682, 'lat': 32.201507325966666, 'count': 1}\n",
      "109.62824611949353\n",
      "34.96769665054483\n",
      "{'city': '蒲城', 'lng': 109.62824611949353, 'lat': 34.96769665054483, 'count': 1}\n",
      "117.68466691247161\n",
      "36.23365413364694\n",
      "{'city': '莱芜', 'lng': 117.68466691247161, 'lat': 36.23365413364694, 'count': 1}\n",
      "80.4721513911288\n",
      "44.45251977323308\n",
      "{'city': '霍尔果斯', 'lng': 80.4721513911288, 'lat': 44.45251977323308, 'count': 1}\n",
      "113.11283222874056\n",
      "41.02776597146905\n",
      "{'city': '集宁南', 'lng': 113.11283222874056, 'lat': 41.02776597146905, 'count': 1}\n",
      "113.65196887023447\n",
      "35.20348055884318\n",
      "{'city': '获嘉', 'lng': 113.65196887023447, 'lat': 35.20348055884318, 'count': 1}\n",
      "109.9486607100433\n",
      "18.575984851565984\n",
      "{'city': '陵水', 'lng': 109.9486607100433, 'lat': 18.575984851565984, 'count': 1}\n",
      "101.1577500356479\n",
      "22.61490495745747\n",
      "{'city': '阿里河', 'lng': 101.1577500356479, 'lat': 22.61490495745747, 'count': 1}\n",
      "103.64225504548274\n",
      "30.893001512717397\n",
      "{'city': '菜园坝', 'lng': 103.64225504548274, 'lat': 30.893001512717397, 'count': 1}\n",
      "127.12462182331598\n",
      "45.55733518920172\n",
      "{'city': '阿城', 'lng': 127.12462182331598, 'lat': 45.55733518920172, 'count': 1}\n",
      "115.87350298471966\n",
      "36.146774001697445\n",
      "{'city': '阳谷', 'lng': 115.87350298471966, 'lat': 36.146774001697445, 'count': 1}\n",
      "115.1404926264815\n",
      "29.828087088128697\n",
      "{'city': '阳新', 'lng': 115.1404926264815, 'lat': 29.828087088128697, 'count': 1}\n",
      "106.07809314825234\n",
      "31.60211734888562\n",
      "{'city': '阆中', 'lng': 106.07809314825234, 'lat': 31.60211734888562, 'count': 1}\n",
      "120.02630174191806\n",
      "40.30512900582333\n",
      "{'city': '绥中', 'lng': 120.02630174191806, 'lat': 40.30512900582333, 'count': 1}\n",
      "131.0190480471218\n",
      "45.77500536864039\n",
      "{'city': '七台河', 'lng': 131.0190480471218, 'lat': 45.77500536864039, 'count': 1}\n",
      "114.62811879353431\n",
      "31.29012275322974\n",
      "{'city': '红安八里', 'lng': 114.62811879353431, 'lat': 31.29012275322974, 'count': 1}\n",
      "121.59347778143518\n",
      "38.94870993830429\n",
      "{'city': '大连北', 'lng': 121.59347778143518, 'lat': 38.94870993830429, 'count': 1}\n",
      "122.57155106236407\n",
      "40.64691545187715\n",
      "{'city': '大石桥', 'lng': 122.57155106236407, 'lat': 40.64691545187715, 'count': 1}\n",
      "114.31029950548893\n",
      "31.578255248409686\n",
      "{'city': '大悟', 'lng': 114.31029950548893, 'lat': 31.578255248409686, 'count': 1}\n",
      "104.87756638737571\n",
      "29.411547695332803\n",
      "{'city': '大安', 'lng': 104.87756638737571, 'lat': 29.411547695332803, 'count': 1}\n",
      "114.36649000169253\n",
      "25.448471674289998\n",
      "{'city': '大余', 'lng': 114.36649000169253, 'lat': 25.448471674289998, 'count': 1}\n",
      "80.04714811107168\n",
      "38.384224145852976\n",
      "{'city': '墨玉', 'lng': 80.04714811107168, 'lat': 38.384224145852976, 'count': 1}\n",
      "115.03759804971288\n",
      "44.68693630526289\n",
      "{'city': '图门', 'lng': 115.03759804971288, 'lat': 44.68693630526289, 'count': 1}\n",
      "115.70974321124666\n",
      "32.136943904850405\n",
      "{'city': '固始', 'lng': 115.70974321124666, 'lat': 32.136943904850405, 'count': 1}\n",
      "113.62215528367015\n",
      "41.72651685156371\n",
      "{'city': '商都', 'lng': 113.62215528367015, 'lat': 41.72651685156371, 'count': 1}\n",
      "119.76082179399947\n",
      "49.201636054604336\n",
      "{'city': '呼伦贝尔', 'lng': 119.76082179399947, 'lat': 49.201636054604336, 'count': 1}\n",
      "116.50803340730387\n",
      "37.66186347209427\n",
      "{'city': '吴桥', 'lng': 116.50803340730387, 'lat': 37.66186347209427, 'count': 1}\n",
      "121.67882229665138\n",
      "31.87130183838319\n",
      "{'city': '启东', 'lng': 121.67882229665138, 'lat': 31.87130183838319, 'count': 1}\n",
      "133.2733283638191\n",
      "47.833684686563714\n",
      "{'city': '同江', 'lng': 133.2733283638191, 'lat': 47.833684686563714, 'count': 1}\n",
      "126.56454398883335\n",
      "43.87198833435933\n",
      "{'city': '吉林市', 'lng': 126.56454398883335, 'lat': 43.87198833435933, 'count': 1}\n",
      "121.48131346901776\n",
      "31.252956053300096\n",
      "{'city': '吉文', 'lng': 121.48131346901776, 'lat': 31.252956053300096, 'count': 1}\n",
      "117.28269909168304\n",
      "31.86694226068694\n",
      "{'city': '合肥南', 'lng': 117.28269909168304, 'lat': 31.86694226068694, 'count': 1}\n",
      "106.31802875449188\n",
      "30.11870826013412\n",
      "{'city': '合川', 'lng': 106.31802875449188, 'lat': 30.11870826013412, 'count': 1}\n",
      "118.87954004138562\n",
      "26.618899035407885\n",
      "{'city': '古田', 'lng': 118.87954004138562, 'lat': 26.618899035407885, 'count': 1}\n",
      "103.34292346491078\n",
      "37.53127171136387\n",
      "{'city': '古浪', 'lng': 103.34292346491078, 'lat': 37.53127171136387, 'count': 1}\n",
      "131.1714017395816\n",
      "46.65510206248248\n",
      "{'city': '双鸭山', 'lng': 131.1714017395816, 'lat': 46.65510206248248, 'count': 1}\n",
      "122.58397168612761\n",
      "45.404371858137836\n",
      "{'city': '双城堡', 'lng': 122.58397168612761, 'lat': 45.404371858137836, 'count': 1}\n",
      "118.1170337726629\n",
      "24.55435827488453\n",
      "{'city': '厦门高崎', 'lng': 118.1170337726629, 'lat': 24.55435827488453, 'count': 1}\n",
      "114.07811240388993\n",
      "35.49957207926647\n",
      "{'city': '卫辉', 'lng': 114.07811240388993, 'lat': 35.49957207926647, 'count': 1}\n",
      "117.29305472699474\n",
      "24.668805586955994\n",
      "{'city': '南靖', 'lng': 117.29305472699474, 'lat': 24.668805586955994, 'count': 1}\n",
      "115.73212796819539\n",
      "37.31075305047869\n",
      "{'city': '大营镇', 'lng': 115.73212796819539, 'lat': 37.31075305047869, 'count': 1}\n",
      "120.59133434307782\n",
      "49.25306916165305\n",
      "{'city': '大雁', 'lng': 120.59133434307782, 'lat': 49.25306916165305, 'count': 1}\n",
      "118.18188294866125\n",
      "26.643626474197838\n",
      "{'city': '南平', 'lng': 118.18188294866125, 'lat': 26.643626474197838, 'count': 1}\n",
      "114.16812988719342\n",
      "40.403528534338385\n",
      "{'city': '天镇', 'lng': 114.16812988719342, 'lat': 40.403528534338385, 'count': 1}\n",
      "122.9341452670001\n",
      "39.85890978417193\n",
      "{'city': '庄河', 'lng': 122.9341452670001, 'lat': 39.85890978417193, 'count': 1}\n",
      "113.81261910548936\n",
      "31.682325023049867\n",
      "{'city': '广水', 'lng': 113.81261910548936, 'lat': 31.682325023049867, 'count': 1}\n",
      "113.30764967515182\n",
      "23.12004910207623\n",
      "{'city': '广州南', 'lng': 113.30764967515182, 'lat': 23.12004910207623, 'count': 1}\n",
      "111.25110932093526\n",
      "34.88864577444809\n",
      "{'city': '平陆', 'lng': 111.25110932093526, 'lat': 34.88864577444809, 'count': 1}\n",
      "102.00299964296364\n",
      "36.410605515699\n",
      "{'city': '平安', 'lng': 102.00299964296364, 'lat': 36.410605515699, 'count': 1}\n",
      "110.41260119285069\n",
      "23.53868288368454\n",
      "{'city': '平南', 'lng': 110.41260119285069, 'lat': 23.53868288368454, 'count': 1}\n",
      "107.35732203836824\n",
      "22.415455296546437\n",
      "{'city': '崇左', 'lng': 107.35732203836824, 'lat': 22.415455296546437, 'count': 1}\n",
      "114.02641850539634\n",
      "22.37331435687135\n",
      "{'city': '小榄', 'lng': 114.02641850539634, 'lat': 22.37331435687135, 'count': 1}\n",
      "113.14161086395431\n",
      "37.82511891440681\n",
      "{'city': '寿阳', 'lng': 113.14161086395431, 'lat': 37.82511891440681, 'count': 1}\n",
      "118.8525335212366\n",
      "37.029891849505624\n",
      "{'city': '寿光', 'lng': 118.8525335212366, 'lat': 37.029891849505624, 'count': 1}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "132.5390013562904\n",
      "47.17067254824362\n",
      "{'city': '富锦', 'lng': 132.5390013562904, 'lat': 47.17067254824362, 'count': 1}\n",
      "124.57174679758903\n",
      "47.66582009392044\n",
      "{'city': '富裕', 'lng': 124.57174679758903, 'lat': 47.66582009392044, 'count': 1}\n",
      "107.93603281987554\n",
      "31.519797624949838\n",
      "{'city': '宣汉', 'lng': 107.93603281987554, 'lat': 31.519797624949838, 'count': 1}\n",
      "132.40927864827174\n",
      "46.40938321271702\n",
      "{'city': '宝清', 'lng': 132.40927864827174, 'lat': 46.40938321271702, 'count': 1}\n",
      "113.03577147499334\n",
      "33.91549734744609\n",
      "{'city': '宝丰', 'lng': 113.03577147499334, 'lat': 33.91549734744609, 'count': 1}\n",
      "119.79026529658498\n",
      "31.362244911878832\n",
      "{'city': '宜兴', 'lng': 119.79026529658498, 'lat': 31.362244911878832, 'count': 1}\n",
      "117.66596452496591\n",
      "32.473258599425385\n",
      "{'city': '定远', 'lng': 117.66596452496591, 'lat': 32.473258599425385, 'count': 1}\n",
      "115.09388033666131\n",
      "24.82416039624735\n",
      "{'city': '定南', 'lng': 115.09388033666131, 'lat': 24.82416039624735, 'count': 1}\n",
      "114.35180650767198\n",
      "36.1102667221811\n",
      "{'city': '安阳东', 'lng': 114.35180650767198, 'lat': 36.1102667221811, 'count': 1}\n",
      "128.4376516920773\n",
      "42.701033019189516\n",
      "{'city': '安图', 'lng': 128.4376516920773, 'lat': 42.701033019189516, 'count': 1}\n",
      "129.21531714200626\n",
      "44.058017259882796\n",
      "{'city': '宁安', 'lng': 129.21531714200626, 'lat': 44.058017259882796, 'count': 1}\n",
      "118.9970245259805\n",
      "30.502936034942636\n",
      "{'city': '宁国', 'lng': 118.9970245259805, 'lat': 30.502936034942636, 'count': 1}\n",
      "116.67811816013383\n",
      "26.310073098847635\n",
      "{'city': '宁化', 'lng': 116.67811816013383, 'lat': 26.310073098847635, 'count': 1}\n",
      "127.31667232078964\n",
      "49.37065553947365\n",
      "{'city': '孙吴', 'lng': 127.31667232078964, 'lat': 49.37065553947365, 'count': 1}\n",
      "123.82788014761208\n",
      "41.12271622099884\n",
      "{'city': '南芬', 'lng': 123.82788014761208, 'lat': 41.12271622099884, 'count': 1}\n",
      "129.53887412610146\n",
      "46.964156236683976\n",
      "{'city': '南岔', 'lng': 129.53887412610146, 'lat': 46.964156236683976, 'count': 1}\n",
      "118.2001179722037\n",
      "31.12832958697044\n",
      "{'city': '繁昌西', 'lng': 118.2001179722037, 'lat': 31.12832958697044, 'count': 1}\n",
      "121.15277918828542\n",
      "29.99645671901067\n",
      "{'city': '余姚北', 'lng': 121.15277918828542, 'lat': 29.99645671901067, 'count': 1}\n",
      "128.9005796425911\n",
      "47.741959238189104\n",
      "{'city': '伊春', 'lng': 128.9005796425911, 'lat': 47.741959238189104, 'count': 1}\n",
      "113.05058168824989\n",
      "39.09319722406683\n",
      "{'city': '代县', 'lng': 113.05058168824989, 'lat': 39.09319722406683, 'count': 1}\n",
      "118.70462563885148\n",
      "25.46825833639587\n",
      "{'city': '仙游', 'lng': 118.70462563885148, 'lat': 25.46825833639587, 'count': 1}\n",
      "113.38744819357841\n",
      "30.293966004922325\n",
      "{'city': '仙桃西', 'lng': 113.38744819357841, 'lat': 30.293966004922325, 'count': 1}\n",
      "113.38744819357841\n",
      "30.293966004922325\n",
      "{'city': '仙桃', 'lng': 113.38744819357841, 'lat': 30.293966004922325, 'count': 1}\n",
      "113.11226093659681\n",
      "31.085751895571967\n",
      "{'city': '京山', 'lng': 113.11226093659681, 'lat': 31.085751895571967, 'count': 1}\n",
      "111.81992715422206\n",
      "37.68704558482044\n",
      "{'city': '交城', 'lng': 111.81992715422206, 'lat': 37.68704558482044, 'count': 1}\n",
      "114.07795206334612\n",
      "38.00089081581098\n",
      "{'city': '井陉', 'lng': 114.07795206334612, 'lat': 38.00089081581098, 'count': 1}\n",
      "100.22130988324945\n",
      "26.95976051231608\n",
      "{'city': '五元', 'lng': 100.22130988324945, 'lat': 26.95976051231608, 'count': 1}\n",
      "101.59295163700766\n",
      "24.86421279548333\n",
      "{'city': '云南', 'lng': 101.59295163700766, 'lat': 24.86421279548333, 'count': 1}\n",
      "122.78332774117628\n",
      "45.46662641868275\n",
      "{'city': '二连', 'lng': 122.78332774117628, 'lat': 45.46662641868275, 'count': 1}\n",
      "117.14555333466174\n",
      "37.674416911053804\n",
      "{'city': '乐陵', 'lng': 117.14555333466174, 'lat': 37.674416911053804, 'count': 1}\n",
      "102.45288779665667\n",
      "36.53526645107897\n",
      "{'city': '乐都', 'lng': 102.45288779665667, 'lat': 36.53526645107897, 'count': 1}\n",
      "118.93994305703049\n",
      "39.35722889189613\n",
      "{'city': '乐亭', 'lng': 118.93994305703049, 'lat': 39.35722889189613, 'count': 1}\n",
      "113.11284639067514\n",
      "41.02236294675116\n",
      "{'city': '乌兰察布', 'lng': 113.11284639067514, 'lat': 41.02236294675116, 'count': 1}\n",
      "119.64430350829022\n",
      "31.96026345508341\n",
      "{'city': '丹阳', 'lng': 119.64430350829022, 'lat': 31.96026345508341, 'count': 1}\n",
      "117.00682739943993\n",
      "30.03406990687072\n",
      "{'city': '东至', 'lng': 117.00682739943993, 'lat': 30.03406990687072, 'count': 1}\n",
      "108.85100963157022\n",
      "18.99816086121773\n",
      "{'city': '东方', 'lng': 108.85100963157022, 'lat': 18.99816086121773, 'count': 1}\n",
      "116.67783233647565\n",
      "37.88745160368844\n",
      "{'city': '东光', 'lng': 116.67783233647565, 'lat': 37.88745160368844, 'count': 1}\n",
      "116.60784526239873\n",
      "28.267451879894224\n",
      "{'city': '东乡', 'lng': 116.60784526239873, 'lat': 28.267451879894224, 'count': 1}\n",
      "125.45480890407713\n",
      "42.68393389598205\n",
      "{'city': '东丰', 'lng': 125.45480890407713, 'lat': 42.68393389598205, 'count': 1}\n",
      "106.62219705696666\n",
      "30.09854318645195\n",
      "{'city': '三汇镇', 'lng': 106.62219705696666, 'lat': 30.09854318645195, 'count': 1}\n",
      "117.64219393404412\n",
      "26.270835279362192\n",
      "{'city': '三明北', 'lng': 117.64219393404412, 'lat': 26.270835279362192, 'count': 1}\n",
      "117.01441274225478\n",
      "28.703236407928657\n",
      "{'city': '万年', 'lng': 117.01441274225478, 'lat': 28.703236407928657, 'count': 1}\n",
      "109.80994541410043\n",
      "26.91413637393793\n",
      "{'city': '会同', 'lng': 109.80994541410043, 'lat': 26.91413637393793, 'count': 1}\n",
      "111.37150924675753\n",
      "35.62178548787969\n",
      "{'city': '侯马西', 'lng': 111.37150924675753, 'lat': 35.62178548787969, 'count': 1}\n",
      "115.47940958600971\n",
      "37.28642741327499\n",
      "{'city': '南宫', 'lng': 115.47940958600971, 'lat': 37.28642741327499, 'count': 1}\n",
      "115.49481016907626\n",
      "38.88656454802744\n",
      "{'city': '保定东', 'lng': 115.49481016907626, 'lat': 38.88656454802744, 'count': 1}\n",
      "116.68173230037965\n",
      "27.51896617645848\n",
      "{'city': '南城', 'lng': 116.68173230037965, 'lat': 27.51896617645848, 'count': 1}\n",
      "112.39366620513732\n",
      "33.47284157696481\n",
      "{'city': '南召', 'lng': 112.39366620513732, 'lat': 33.47284157696481, 'count': 1}\n",
      "107.46800068752924\n",
      "25.11943883054002\n",
      "{'city': '南丹', 'lng': 107.46800068752924, 'lat': 25.11943883054002, 'count': 1}\n",
      "126.13164785338725\n",
      "43.69038553611206\n",
      "{'city': '北道', 'lng': 126.13164785338725, 'lat': 43.69038553611206, 'count': 1}\n",
      "106.52034245432448\n",
      "29.866596066865153\n",
      "{'city': '北碚', 'lng': 106.52034245432448, 'lat': 29.866596066865153, 'count': 1}\n",
      "110.46705456425738\n",
      "22.528890370521996\n",
      "{'city': '北流', 'lng': 110.46705456425738, 'lat': 22.528890370521996, 'count': 1}\n",
      "130.8181694029228\n",
      "45.930545419105634\n",
      "{'city': '勃利', 'lng': 130.8181694029228, 'lat': 45.930545419105634, 'count': 1}\n",
      "119.78538128698132\n",
      "49.232052278148394\n",
      "{'city': '加格达奇', 'lng': 119.78538128698132, 'lat': 49.232052278148394, 'count': 1}\n",
      "107.94823859488538\n",
      "26.6317423326968\n",
      "{'city': '凯里南', 'lng': 107.94823859488538, 'lat': 26.6317423326968, 'count': 1}\n",
      "124.07296025051131\n",
      "40.57957030665949\n",
      "{'city': '凤城东', 'lng': 124.07296025051131, 'lat': 40.57957030665949, 'count': 1}\n",
      "124.07296025051131\n",
      "40.57957030665949\n",
      "{'city': '凤城', 'lng': 124.07296025051131, 'lat': 40.57957030665949, 'count': 1}\n",
      "119.2715431268339\n",
      "40.9818011283523\n",
      "{'city': '凌源', 'lng': 119.2715431268339, 'lat': 40.9818011283523, 'count': 1}\n",
      "111.62158556909958\n",
      "26.56038167783379\n",
      "{'city': '冷水滩', 'lng': 111.62158556909958, 'lat': 26.56038167783379, 'count': 1}\n",
      "111.49394197481614\n",
      "27.684914712556072\n",
      "{'city': '冷水江东', 'lng': 111.49394197481614, 'lat': 27.684914712556072, 'count': 1}\n",
      "111.62927138120986\n",
      "26.196282165783643\n",
      "{'city': '冶金', 'lng': 111.62927138120986, 'lat': 26.196282165783643, 'count': 1}\n",
      "111.8474050987038\n",
      "33.22437717624125\n",
      "{'city': '内乡', 'lng': 111.8474050987038, 'lat': 33.22437717624125, 'count': 1}\n",
      "111.06931108239739\n",
      "38.39226258394571\n",
      "{'city': '兴县', 'lng': 111.06931108239739, 'lat': 38.39226258394571, 'count': 1}\n",
      "104.85783724276915\n",
      "25.002543765436346\n",
      "{'city': '兴义顶校', 'lng': 104.85783724276915, 'lat': 25.002543765436346, 'count': 1}\n",
      "119.53333759742226\n",
      "29.284102536325353\n",
      "{'city': '兰溪', 'lng': 119.53333759742226, 'lat': 29.284102536325353, 'count': 1}\n",
      "103.8233054407292\n",
      "36.06422552504259\n",
      "{'city': '兰州东', 'lng': 103.8233054407292, 'lat': 36.06422552504259, 'count': 1}\n",
      "106.25881141779533\n",
      "24.010928405343265\n",
      "{'city': '六水盘', 'lng': 106.25881141779533, 'lat': 24.010928405343265, 'count': 1}\n",
      "119.85225352771474\n",
      "41.361715583278965\n",
      "{'city': '公营子', 'lng': 119.85225352771474, 'lat': 41.361715583278965, 'count': 1}\n",
      "114.84316193505083\n",
      "31.94143172235141\n",
      "{'city': '光山', 'lng': 114.84316193505083, 'lat': 31.94143172235141, 'count': 1}\n",
      "112.73482167429046\n",
      "34.630801858345976\n",
      "{'city': '偃师', 'lng': 112.73482167429046, 'lat': 34.630801858345976, 'count': 1}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "114.98179982407585\n",
      "25.286018342725203\n",
      "{'city': '信丰', 'lng': 114.98179982407585, 'lat': 25.286018342725203, 'count': 1}\n",
      "113.55644020385127\n",
      "30.925709286686835\n",
      "{'city': '应城', 'lng': 113.55644020385127, 'lat': 30.925709286686835, 'count': 1}\n",
      "109.8408756935125\n",
      "39.640791926893456\n",
      "{'city': '康巴什', 'lng': 109.8408756935125, 'lat': 39.640791926893456, 'count': 1}\n",
      "116.79307136803553\n",
      "26.817741252365053\n",
      "{'city': '建宁', 'lng': 116.79307136803553, 'lat': 26.817741252365053, 'count': 1}\n",
      "117.69145555573833\n",
      "24.134610348851826\n",
      "{'city': '漳浦', 'lng': 117.69145555573833, 'lat': 24.134610348851826, 'count': 1}\n",
      "120.02660867811394\n",
      "34.09231717639178\n",
      "{'city': '滨海北', 'lng': 120.02660867811394, 'lat': 34.09231717639178, 'count': 1}\n",
      "112.98492759888084\n",
      "23.273129851038348\n",
      "{'city': '源潭', 'lng': 112.98492759888084, 'lat': 23.273129851038348, 'count': 1}\n",
      "110.65858111746535\n",
      "27.835909943859672\n",
      "{'city': '溆浦', 'lng': 110.65858111746535, 'lat': 27.835909943859672, 'count': 1}\n",
      "110.36506726285033\n",
      "21.257463103764316\n",
      "{'city': '湛江', 'lng': 110.36506726285033, 'lat': 21.257463103764316, 'count': 1}\n",
      "109.48393269657977\n",
      "34.5023579758288\n",
      "{'city': '渭南北', 'lng': 109.48393269657977, 'lat': 34.5023579758288, 'count': 1}\n",
      "106.75379853119536\n",
      "29.816264082426493\n",
      "{'city': '渝北', 'lng': 106.75379853119536, 'lat': 29.816264082426493, 'count': 1}\n",
      "114.0259736573215\n",
      "22.546053546205247\n",
      "{'city': '深圳北', 'lng': 114.0259736573215, 'lat': 22.546053546205247, 'count': 1}\n",
      "119.07903889678174\n",
      "25.60474172485709\n",
      "{'city': '涵江', 'lng': 119.07903889678174, 'lat': 25.60474172485709, 'count': 1}\n",
      "114.73045121001118\n",
      "39.3669367870307\n",
      "{'city': '涞源', 'lng': 114.73045121001118, 'lat': 39.3669367870307, 'count': 1}\n",
      "113.74291352234147\n",
      "36.5981045355726\n",
      "{'city': '涉县', 'lng': 113.74291352234147, 'lat': 36.5981045355726, 'count': 1}\n",
      "121.31247014367143\n",
      "31.956038868177135\n",
      "{'city': '海门', 'lng': 121.31247014367143, 'lat': 31.956038868177135, 'count': 1}\n",
      "120.47392692165361\n",
      "32.553985066143284\n",
      "{'city': '海安县', 'lng': 120.47392692165361, 'lat': 32.553985066143284, 'count': 1}\n",
      "120.61872710777868\n",
      "30.442176799316616\n",
      "{'city': '海宁', 'lng': 120.61872710777868, 'lat': 30.442176799316616, 'count': 1}\n",
      "109.16534360380628\n",
      "21.518620780284564\n",
      "{'city': '海城', 'lng': 109.16534360380628, 'lat': 21.518620780284564, 'count': 1}\n",
      "110.3308018483363\n",
      "20.022071276952243\n",
      "{'city': '海口东', 'lng': 110.3308018483363, 'lat': 20.022071276952243, 'count': 1}\n",
      "119.95720242066378\n",
      "29.159494120760925\n",
      "{'city': '浙江', 'lng': 119.95720242066378, 'lat': 29.159494120760925, 'count': 1}\n",
      "126.39664287376053\n",
      "41.79164222825484\n",
      "{'city': '浑江', 'lng': 126.39664287376053, 'lat': 41.79164222825484, 'count': 1}\n",
      "122.45367732552191\n",
      "45.475604304499434\n",
      "{'city': '洮南', 'lng': 122.45367732552191, 'lat': 45.475604304499434, 'count': 1}\n",
      "114.43389643664298\n",
      "30.54362328175047\n",
      "{'city': '洪山', 'lng': 114.43389643664298, 'lat': 30.54362328175047, 'count': 1}\n",
      "112.44752476895121\n",
      "34.65736781765111\n",
      "{'city': '洛阳龙门', 'lng': 112.44752476895121, 'lat': 34.65736781765111, 'count': 1}\n",
      "119.0876177847241\n",
      "40.012448974220504\n",
      "{'city': '洋河', 'lng': 119.0876177847241, 'lat': 40.012448974220504, 'count': 1}\n",
      "123.55804791893475\n",
      "46.60329011142219\n",
      "{'city': '泰来', 'lng': 123.55804791893475, 'lat': 46.60329011142219, 'count': 1}\n",
      "118.65694128684599\n",
      "33.708800542073895\n",
      "{'city': '泗阳', 'lng': 118.65694128684599, 'lat': 33.708800542073895, 'count': 1}\n",
      "117.34526415391191\n",
      "35.64074066621296\n",
      "{'city': '泗水', 'lng': 117.34526415391191, 'lat': 35.64074066621296, 'count': 1}\n",
      "114.04606140022909\n",
      "33.57627868848315\n",
      "{'city': '漯河西', 'lng': 114.04606140022909, 'lat': 33.57627868848315, 'count': 1}\n",
      "113.16348240524292\n",
      "22.98582554425155\n",
      "{'city': '潮汕', 'lng': 113.16348240524292, 'lat': 22.98582554425155, 'count': 1}\n",
      "118.09503169528891\n",
      "27.422984908609543\n",
      "{'city': '建阳', 'lng': 118.09503169528891, 'lat': 27.422984908609543, 'count': 1}\n",
      "110.29554551612547\n",
      "34.507137056056706\n",
      "{'city': '潼关', 'lng': 110.29554551612547, 'lat': 34.507137056056706, 'count': 1}\n",
      "106.72515912527831\n",
      "27.359108466106765\n",
      "{'city': '紫荆关', 'lng': 106.72515912527831, 'lat': 27.359108466106765, 'count': 1}\n",
      "130.39552588753426\n",
      "44.57686985532068\n",
      "{'city': '穆棱', 'lng': 130.39552588753426, 'lat': 44.57686985532068, 'count': 1}\n",
      "110.96512183757373\n",
      "35.59826692410956\n",
      "{'city': '稷山', 'lng': 110.96512183757373, 'lat': 35.59826692410956, 'count': 1}\n",
      "102.02612983069093\n",
      "25.18581898751634\n",
      "{'city': '禄丰', 'lng': 102.02612983069093, 'lat': 25.18581898751634, 'count': 1}\n",
      "100.77807073661779\n",
      "25.51667329285465\n",
      "{'city': '祥云', 'lng': 100.77807073661779, 'lat': 25.51667329285465, 'count': 1}\n",
      "117.60052812882222\n",
      "29.873705688291725\n",
      "{'city': '祁门', 'lng': 117.60052812882222, 'lat': 29.873705688291725, 'count': 1}\n",
      "112.46906595172106\n",
      "37.29219808662871\n",
      "{'city': '祁县', 'lng': 112.46906595172106, 'lat': 37.29219808662871, 'count': 1}\n",
      "126.17462779101467\n",
      "43.0574561133298\n",
      "{'city': '磐石', 'lng': 126.17462779101467, 'lat': 43.0574561133298, 'count': 1}\n",
      "116.4202822720679\n",
      "34.4540572423079\n",
      "{'city': '砀山', 'lng': 116.4202822720679, 'lat': 34.4540572423079, 'count': 1}\n",
      "111.04428685664897\n",
      "29.801742760215244\n",
      "{'city': '石门县', 'lng': 111.04428685664897, 'lat': 29.801742760215244, 'count': 1}\n",
      "108.25051841166801\n",
      "33.065316023116026\n",
      "{'city': '石泉', 'lng': 108.25051841166801, 'lat': 33.065316023116026, 'count': 1}\n",
      "108.3048904279275\n",
      "30.09963694415459\n",
      "{'city': '石柱', 'lng': 108.3048904279275, 'lat': 30.09963694415459, 'count': 1}\n",
      "106.37933720152914\n",
      "39.02022328360303\n",
      "{'city': '石嘴山', 'lng': 106.37933720152914, 'lat': 39.02022328360303, 'count': 1}\n",
      "103.84142956286796\n",
      "30.06111507994454\n",
      "{'city': '眉山东', 'lng': 103.84142956286796, 'lat': 30.06111507994454, 'count': 1}\n",
      "116.48936376503904\n",
      "43.87056011890201\n",
      "{'city': '白音胡硕', 'lng': 116.48936376503904, 'lat': 43.87056011890201, 'count': 1}\n",
      "104.171240903737\n",
      "36.54668170616305\n",
      "{'city': '白银市', 'lng': 104.171240903737, 'lat': 36.54668170616305, 'count': 1}\n",
      "104.20564932849953\n",
      "36.501821828710106\n",
      "{'city': '白银', 'lng': 104.20564932849953, 'lat': 36.501821828710106, 'count': 1}\n",
      "116.52226947380211\n",
      "40.10763130913379\n",
      "{'city': '白洋淀', 'lng': 116.52226947380211, 'lat': 40.10763130913379, 'count': 1}\n",
      "116.01715011972692\n",
      "39.18395691106342\n",
      "{'city': '白沟', 'lng': 116.01715011972692, 'lat': 39.18395691106342, 'count': 1}\n",
      "95.80471282523881\n",
      "40.734286870761245\n",
      "{'city': '瓜州', 'lng': 95.80471282523881, 'lat': 40.734286870761245, 'count': 1}\n",
      "115.45968602846516\n",
      "29.62854462548317\n",
      "{'city': '瑞昌', 'lng': 115.45968602846516, 'lat': 29.62854462548317, 'count': 1}\n",
      "86.13766885925838\n",
      "44.503551752404\n",
      "{'city': '玛纳斯', 'lng': 86.13766885925838, 'lat': 44.503551752404, 'count': 1}\n",
      "113.85053602814018\n",
      "26.382712485446305\n",
      "{'city': '炎陵', 'lng': 113.85053602814018, 'lat': 26.382712485446305, 'count': 1}\n",
      "111.73550355034705\n",
      "36.834487193362\n",
      "{'city': '灵石', 'lng': 111.73550355034705, 'lat': 36.834487193362, 'count': 1}\n",
      "106.53199999228757\n",
      "37.93517481216924\n",
      "{'city': '灵武', 'lng': 106.53199999228757, 'lat': 37.93517481216924, 'count': 1}\n",
      "117.8903589738772\n",
      "33.54434653736182\n",
      "{'city': '泗县', 'lng': 117.8903589738772, 'lat': 33.54434653736182, 'count': 1}\n",
      "108.34424506671716\n",
      "28.62426858568861\n",
      "{'city': '沿河', 'lng': 108.34424506671716, 'lat': 28.62426858568861, 'count': 1}\n",
      "118.05636772416993\n",
      "37.86831249790947\n",
      "{'city': '沾化', 'lng': 118.05636772416993, 'lat': 37.86831249790947, 'count': 1}\n",
      "116.86380647644208\n",
      "38.297615350325714\n",
      "{'city': '沧州西', 'lng': 116.86380647644208, 'lat': 38.297615350325714, 'count': 1}\n",
      "109.23181650474223\n",
      "23.741165926514817\n",
      "{'city': '来宾', 'lng': 109.23181650474223, 'lat': 23.741165926514817, 'count': 1}\n",
      "116.68809225223671\n",
      "30.242568216533904\n",
      "{'city': '望江', 'lng': 116.68809225223671, 'lat': 30.242568216533904, 'count': 1}\n",
      "117.03178985127641\n",
      "35.61576056625757\n",
      "{'city': '曲阜东', 'lng': 117.03178985127641, 'lat': 35.61576056625757, 'count': 1}\n",
      "104.06166772083874\n",
      "37.146078963930044\n",
      "{'city': '景泰', 'lng': 104.06166772083874, 'lat': 37.146078963930044, 'count': 1}\n",
      "116.07816590835328\n",
      "23.28895358314155\n",
      "{'city': '普宁', 'lng': 116.07816590835328, 'lat': 23.28895358314155, 'count': 1}\n",
      "119.09462149738174\n",
      "39.63802116472844\n",
      "{'city': '昌黎', 'lng': 119.09462149738174, 'lat': 39.63802116472844, 'count': 1}\n",
      "118.91391393621471\n",
      "36.53553205269824\n",
      "{'city': '昌乐', 'lng': 118.91391393621471, 'lat': 36.53553205269824, 'count': 1}\n",
      "102.60175573116265\n",
      "24.672660889054274\n",
      "{'city': '昆阳', 'lng': 102.60175573116265, 'lat': 24.672660889054274, 'count': 1}\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "120.30545590053595\n",
      "31.57003745192303\n",
      "{'city': '无锡东', 'lng': 120.30545590053595, 'lat': 31.57003745192303, 'count': 1}\n",
      "129.78735692847343\n",
      "48.216126405552465\n",
      "{'city': '新青', 'lng': 129.78735692847343, 'lat': 48.216126405552465, 'count': 1}\n",
      "85.61489933833856\n",
      "42.127000957642366\n",
      "{'city': '新疆', 'lng': 85.61489933833856, 'lat': 42.127000957642366, 'count': 1}\n",
      "118.34412147229202\n",
      "34.284442736534004\n",
      "{'city': '新沂', 'lng': 118.34412147229202, 'lat': 34.284442736534004, 'count': 1}\n",
      "113.03475113289723\n",
      "22.388215069639983\n",
      "{'city': '新会', 'lng': 113.03475113289723, 'lat': 22.388215069639983, 'count': 1}\n",
      "128.23949928010674\n",
      "43.5602018380768\n",
      "{'city': '敦化', 'lng': 128.23949928010674, 'lat': 43.5602018380768, 'count': 1}\n",
      "116.37950085538243\n",
      "23.547999466926136\n",
      "{'city': '揭阳', 'lng': 116.37950085538243, 'lat': 23.547999466926136, 'count': 1}\n",
      "106.61377347013169\n",
      "39.108073765064326\n",
      "{'city': '惠农', 'lng': 106.61377347013169, 'lat': 39.108073765064326, 'count': 1}\n",
      "106.68198036543086\n",
      "27.150807565920672\n",
      "{'city': '息烽', 'lng': 106.68198036543086, 'lat': 27.150807565920672, 'count': 1}\n",
      "116.59340835643431\n",
      "40.63813934031092\n",
      "{'city': '怀柔', 'lng': 116.59340835643431, 'lat': 40.63813934031092, 'count': 1}\n",
      "113.11230462343235\n",
      "39.79357083603243\n",
      "{'city': '怀仁', 'lng': 113.11230462343235, 'lat': 39.79357083603243, 'count': 1}\n",
      "125.76904438894972\n",
      "44.51050714691595\n",
      "{'city': '德惠', 'lng': 125.76904438894972, 'lat': 44.51050714691595, 'count': 1}\n",
      "118.59845404238828\n",
      "40.69873812623691\n",
      "{'city': '徐家店', 'lng': 118.59845404238828, 'lat': 40.69873812623691, 'count': 1}\n",
      "111.84271236768596\n",
      "30.825538036112967\n",
      "{'city': '当阳', 'lng': 111.84271236768596, 'lat': 30.825538036112967, 'count': 1}\n",
      "114.89378153032918\n",
      "40.81118849110306\n",
      "{'city': '张家口南', 'lng': 114.89378153032918, 'lat': 40.81118849110306, 'count': 1}\n",
      "107.04688065584989\n",
      "27.07542730785657\n",
      "{'city': '开阳', 'lng': 107.04688065584989, 'lat': 27.07542730785657, 'count': 1}\n",
      "108.05670419245898\n",
      "24.89625033164812\n",
      "{'city': '开通', 'lng': 108.05670419245898, 'lat': 24.89625033164812, 'count': 1}\n",
      "107.51530486795873\n",
      "35.1365554022567\n",
      "{'city': '杨村', 'lng': 107.51530486795873, 'lat': 35.1365554022567, 'count': 1}\n",
      "118.75710571165897\n",
      "42.26875301528874\n",
      "{'city': '松山', 'lng': 118.75710571165897, 'lat': 42.26875301528874, 'count': 1}\n",
      "106.23136624407232\n",
      "30.373904543992772\n",
      "{'city': '武胜', 'lng': 106.23136624407232, 'lat': 30.373904543992772, 'count': 1}\n",
      "114.28309250178685\n",
      "36.93863545934609\n",
      "{'city': '沙河市', 'lng': 114.28309250178685, 'lat': 36.93863545934609, 'count': 1}\n",
      "118.41758556843439\n",
      "35.536723374853175\n",
      "{'city': '沂南', 'lng': 118.41758556843439, 'lat': 35.536723374853175, 'count': 1}\n",
      "113.68167835943063\n",
      "30.622039213975643\n",
      "{'city': '汉川', 'lng': 113.68167835943063, 'lat': 30.622039213975643, 'count': 1}\n",
      "116.3307751579138\n",
      "33.972013062907585\n",
      "{'city': '永城', 'lng': 116.3307751579138, 'lat': 33.972013062907585, 'count': 1}\n",
      "120.66880872171774\n",
      "28.336390468031475\n",
      "{'city': '永嘉', 'lng': 120.66880872171774, 'lat': 28.336390468031475, 'count': 1}\n",
      "104.22883253660663\n",
      "28.510929836358752\n",
      "{'city': '水富', 'lng': 104.22883253660663, 'lat': 28.510929836358752, 'count': 1}\n",
      "117.1770359060719\n",
      "32.483902246051564\n",
      "{'city': '水家湖', 'lng': 117.1770359060719, 'lat': 32.483902246051564, 'count': 1}\n",
      "100.79842929870361\n",
      "38.473163420727644\n",
      "{'city': '民乐', 'lng': 100.79842929870361, 'lat': 38.473163420727644, 'count': 1}\n",
      "105.33332337116845\n",
      "27.408562131330886\n",
      "{'city': '毕节', 'lng': 105.33332337116845, 'lat': 27.408562131330886, 'count': 1}\n",
      "107.66182194246005\n",
      "29.353344065545144\n",
      "{'city': '武隆', 'lng': 107.66182194246005, 'lat': 29.353344065545144, 'count': 1}\n",
      "113.39993452059456\n",
      "35.05733226936335\n",
      "{'city': '武陟', 'lng': 113.39993452059456, 'lat': 35.05733226936335, 'count': 1}\n",
      "114.570201323482\n",
      "38.22707253547888\n",
      "{'city': '正定', 'lng': 114.570201323482, 'lat': 38.22707253547888, 'count': 1}\n",
      "108.39745826007041\n",
      "32.64938495551847\n",
      "{'city': '松河', 'lng': 108.39745826007041, 'lat': 32.64938495551847, 'count': 1}\n",
      "113.79799306224001\n",
      "23.872670602755505\n",
      "{'city': '樟木头', 'lng': 113.79799306224001, 'lat': 23.872670602755505, 'count': 1}\n",
      "126.60250076501057\n",
      "44.879422926679325\n",
      "{'city': '榆树', 'lng': 126.60250076501057, 'lat': 44.879422926679325, 'count': 1}\n",
      "111.30547195007331\n",
      "23.485394636734455\n",
      "{'city': '梧州南', 'lng': 111.30547195007331, 'lat': 23.485394636734455, 'count': 1}\n",
      "110.29250485723853\n",
      "18.839885909176672\n",
      "{'city': '万宁', 'lng': 110.29250485723853, 'lat': 18.839885909176672, 'count': 1}\n",
      "110.08711890997465\n",
      "23.333280617300463\n",
      "{'city': '桂平', 'lng': 110.08711890997465, 'lat': 23.333280617300463, 'count': 1}\n",
      "92.7016667522756\n",
      "35.580972291411406\n",
      "{'city': '格尔木', 'lng': 92.7016667522756, 'lat': 35.580972291411406, 'count': 1}\n",
      "110.87692675414752\n",
      "37.403754146297516\n",
      "{'city': '柳林南', 'lng': 110.87692675414752, 'lat': 37.403754146297516, 'count': 1}\n",
      "116.59034735565535\n",
      "39.45854073401676\n",
      "{'city': '柳园', 'lng': 116.59034735565535, 'lat': 39.45854073401676, 'count': 1}\n",
      "111.72856708021362\n",
      "30.45176663503805\n",
      "{'city': '枝江北', 'lng': 111.72856708021362, 'lat': 30.45176663503805, 'count': 1}\n",
      "130.02318050894667\n",
      "45.39610173257094\n",
      "{'city': '林口', 'lng': 130.02318050894667, 'lat': 45.39610173257094, 'count': 1}\n",
      "118.70457871628571\n",
      "32.30349168355469\n",
      "{'city': '林东', 'lng': 118.70457871628571, 'lat': 32.30349168355469, 'count': 1}\n",
      "119.19866420604271\n",
      "28.997079389241737\n",
      "{'city': '龙游', 'lng': 119.19866420604271, 'lat': 28.997079389241737, 'count': 1}\n"
     ]
    }
   ],
   "source": [
    "df_result = pd.DataFrame(columns=('city','lng','lat','count'))\n",
    "for indexs in cities_stat.index:\n",
    "    b = cities_stat.loc[indexs].values[0].strip() #将第一列city读取出来并清除不需要字符\n",
    "    c= cities_stat.loc[indexs].values[1]  #将第二列price读取出来并清除不需要字符\n",
    "    try:\n",
    "        lng = getlnglat(b)['result']['location']['lng'] #采用构造的函数来获取经度\n",
    "        lat = getlnglat(b)['result']['location']['lat'] #获取纬度\n",
    "        print(lng)\n",
    "        print(lat)\n",
    "        dict = {'city':b,'lng':lng,'lat':lat,'count':c}\n",
    "        print(dict)\n",
    "        df_result.loc[df_result.shape[0]+1] = dict\n",
    "    except:  \n",
    "        continue  \n",
    "df_result.to_csv(\"heat_map.csv\",index=False,encoding='utf-8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#打开保存的带有经纬度的数据\n",
    "cities = pd.read_csv(dir + \"heat_map.csv\",sep=',')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>city</th>\n",
       "      <th>lng</th>\n",
       "      <th>lat</th>\n",
       "      <th>count</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>北京</td>\n",
       "      <td>116.395645</td>\n",
       "      <td>39.929986</td>\n",
       "      <td>840</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>成都</td>\n",
       "      <td>104.067923</td>\n",
       "      <td>30.679943</td>\n",
       "      <td>291</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>重庆</td>\n",
       "      <td>106.530635</td>\n",
       "      <td>29.544606</td>\n",
       "      <td>261</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>昆明</td>\n",
       "      <td>102.714601</td>\n",
       "      <td>25.049153</td>\n",
       "      <td>238</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>潍坊</td>\n",
       "      <td>119.142634</td>\n",
       "      <td>36.716115</td>\n",
       "      <td>214</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  city         lng        lat  count\n",
       "0   北京  116.395645  39.929986    840\n",
       "1   成都  104.067923  30.679943    291\n",
       "2   重庆  106.530635  29.544606    261\n",
       "3   昆明  102.714601  25.049153    238\n",
       "4   潍坊  119.142634  36.716115    214"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "cities.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "import matplotlib.pyplot as plt\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "import seaborn as sns\n",
    "import folium\n",
    "import webbrowser\n",
    "from folium.plugins import HeatMap"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "True"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#打开保存的带有经纬度的数据\n",
    "cities = pd.read_csv(dir + \"heat_map.csv\",sep=',')\n",
    "num = len(cities)-1\n",
    "lat = np.array(cities[\"lat\"][0:num])                        # 获取维度之维度值\n",
    "lon = np.array(cities[\"lng\"][0:num])                        # 获取经度值\n",
    "pop = np.array(cities[\"count\"][0:num],dtype=float)    # 获取人口数，转化为numpy浮点型\n",
    "data1 = [[lat[i],lon[i],pop[i]] for i in range(num)]    #将数据制作成[lats,lons,weights]的形式\n",
    "map_osm = folium.Map(location=[35,110],zoom_start=5)    #绘制Map，开始缩放程度是5倍\n",
    "HeatMap(data1).add_to(map_osm)  # 将热力图添加到前面建立的map里\n",
    "\n",
    "file_path = dir + \"heatmap.html\"\n",
    "map_osm.save(file_path)     # 保存为html文件\n",
    "\n",
    "webbrowser.open(file_path)  # 默认浏览器打开"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:126: MatplotlibDeprecationWarning: pyplot.hold is deprecated.\n",
      "    Future behavior will be consistent with the long-time default:\n",
      "    plot commands add elements without first clearing the\n",
      "    Axes and/or Figure.\n",
      "  b = plt.ishold()\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:724: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(label):\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:138: MatplotlibDeprecationWarning: pyplot.hold is deprecated.\n",
      "    Future behavior will be consistent with the long-time default:\n",
      "    plot commands add elements without first clearing the\n",
      "    Axes and/or Figure.\n",
      "  plt.hold(b)\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/__init__.py:911: MatplotlibDeprecationWarning: axes.hold is deprecated. Please remove it from your matplotlibrc and/or style files.\n",
      "  mplDeprecation)\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/rcsetup.py:156: MatplotlibDeprecationWarning: axes.hold is deprecated, will be removed in 3.0\n",
      "  mplDeprecation)\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAecAAAFCCAYAAADL3BUJAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHd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pDFSc5/M1fiO8b7OGd8xXnMfz1Wj0ejrHBgm4gwD7PCewzV7YrZ2je7qy/l3je6q2ROz\ndWjPob6cH4aVOMOAO3P0TLU/am95oHfu2Fntj9p15uiZLT0vUNXodrvdt70JoP8u3LhQ566cq7Un\na71/1/Nzmo1mje8Yr9kTs8IMfSLOMERuP7hdpy+erqWVpXq43vt3Qu4e3V2td1r15cdf1uE9h7d+\ng0BViTMMnW63W/M356t9tV2LK4vV6XbqcefxK48fa449fUf2gVbNHJ+p6Q+mvfkL+kycYYgt312u\ny99croU7C3Xt22t179G96mx0qjnSrH0799Wxg8dq6tBUnXzvpA8YgW0kzgAQxru1ASCMOANAGHEG\ngDDiDABhxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEac\nASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQR\nZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABh\nxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEacASCMOANA\nGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84A\nEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogz\nAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDi\nDABhxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEacASCM\nOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAI\nI84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkA\nwogzAIQRZwAII84AEEacASCMOANAGHEGgDDiDABhxBkAwogzAIQRZwAI8z+XwluH0b5IUgAAAABJ\nRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import networkx as nx\n",
    "import matplotlib.pyplot as plt\n",
    "#有向图\n",
    "DG = nx.DiGraph()\n",
    "#添加一个节点\n",
    "DG.add_node('A')\n",
    "#作图，设置节点名显示,节点大小，节点颜色\n",
    "nx.draw(DG,with_labels=True,node_size=900,node_color = 'green')\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:126: MatplotlibDeprecationWarning: pyplot.hold is deprecated.\n",
      "    Future behavior will be consistent with the long-time default:\n",
      "    plot commands add elements without first clearing the\n",
      "    Axes and/or Figure.\n",
      "  b = plt.ishold()\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:522: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(edge_color) \\\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:543: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if cb.is_string_like(edge_color) or len(edge_color) == 1:\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:724: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(label):\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:724: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(label):\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:138: MatplotlibDeprecationWarning: pyplot.hold is deprecated.\n",
      "    Future behavior will be consistent with the long-time default:\n",
      "    plot commands add elements without first clearing the\n",
      "    Axes and/or Figure.\n",
      "  plt.hold(b)\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/__init__.py:911: MatplotlibDeprecationWarning: axes.hold is deprecated. Please remove it from your matplotlibrc and/or style files.\n",
      "  mplDeprecation)\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/rcsetup.py:156: MatplotlibDeprecationWarning: axes.hold is deprecated, will be removed in 3.0\n",
      "  mplDeprecation)\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAdgAAAFCCAYAAABSJMy8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzt3XlwVfX9//HXTdhCQLayBSFsBWKS\nm5VQtgZkKxj5AiJN+abmZjMoKh0d/TL+xg1LjQoFpSgoIcno96tFFIRYiiwlEKERAslNMgHKKhUs\nEZAChia5ub8/sI40CEnIybnL8zHjjPC5535ejn+87+vcc+6xOJ1OpwAAQJPyMTsAAACeiAELAIAB\nGLAAABiAAQsAgAEYsAAAGIABCwCAARiwAAAYgAELAIABGLAAABiAAQsAgAEYsAAAGIABCwCAARiw\nAAAYgAELAIABGLAAABiAAQsAgAEYsAAAGIABCwCAARiwAAAYoIXZAVxBeUW5NhzaoLyTeSo8U6jz\nleflqHXI18dXnf06K6pnlGIDYzV18FQFdQ0yOy4AwA1YnE6n0+wQZqh11mpd+Tpl5GeorKJMDqdD\nVY6qH319K99W8rX4KrhrsOaPmq/pQdPlY+EEAADgxrxywJ745oTi18ar9GyprlRfaf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t\n2hi6T5sWbfT+fe+7zMPWJQYsAMBgfTv21Yq4FWrbsq0h79+2ZVutiFuhwI6Bhrx/YzFgAQCGS7Am\nKGNcRpMPWb8WfsoYl6EEa0KTvm9T4DYdAECzedf+rubkztHVmquNe1bsd3wtvmrToo1WxK1wyeEq\nMWABAM3sxDcnFL82XmVny3S5uuGPy2nXsp1CuofovfveU9+OfZs+YBNhwAIAmp3T6dS6g+uUkZ+h\n0rOlcjgdN304eyvfVteuFO4Wovmj5mv6kOkudUHTjTBgAQCmKq8o18bDG5V3Mk+Fpwt1rvKcHLUO\n+fr4qotfF0UFRCk2MFb3DrrXZX5Eoj4YsAAAGICriAEAMAADFgAAAzBgAQAwAAMWAAADMGABADAA\nAxYAAAMwYAEAMAADFgAAAzBgAQAwAAMWAAADMGABADAAAxYAAAMwYAEAMAADFgAAAzBgAQAwAAMW\nAAADMGABADAAAxYAAAMwYAEAMAADFgAAAzBgAQAwAAMWAAADMGABADAAAxYAAAMwYAEAMAADFgAA\nAzBgAQAwAAMWAAADMGABADAAAxYAAAMwYAEAMAADFgAAAzBgAQAwwP8HBwVmUzcokb0AAAAASUVO\nRK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "#有向图\n",
    "DG = nx.DiGraph()\n",
    "#添加一个节点\n",
    "DG.add_node('A')\n",
    "DG.add_node('B')\n",
    "#添加边，有方向，A-->B\n",
    "DG.add_edge('A','B')\n",
    "#作图，设置节点名显示,节点大小，节点颜色\n",
    "nx.draw(DG,with_labels=True,node_size=900,node_color = 'green')\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:126: MatplotlibDeprecationWarning: pyplot.hold is deprecated.\n",
      "    Future behavior will be consistent with the long-time default:\n",
      "    plot commands add elements without first clearing the\n",
      "    Axes and/or Figure.\n",
      "  b = plt.ishold()\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:522: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(edge_color) \\\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:543: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if cb.is_string_like(edge_color) or len(edge_color) == 1:\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:724: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(label):\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:724: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(label):\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:724: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(label):\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:724: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(label):\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:724: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.\n",
      "  if not cb.is_string_like(label):\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:138: MatplotlibDeprecationWarning: pyplot.hold is deprecated.\n",
      "    Future behavior will be consistent with the long-time default:\n",
      "    plot commands add elements without first clearing the\n",
      "    Axes and/or Figure.\n",
      "  plt.hold(b)\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/__init__.py:911: MatplotlibDeprecationWarning: axes.hold is deprecated. Please remove it from your matplotlibrc and/or style files.\n",
      "  mplDeprecation)\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/rcsetup.py:156: MatplotlibDeprecationWarning: axes.hold is deprecated, will be removed in 3.0\n",
      "  mplDeprecation)\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n",
      "/Users/zhangjianfeng/anaconda3/lib/python3.6/site-packages/matplotlib/font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAdgAAAFCCAYAAABSJMy8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzt3XmUVOWd//F3dXf1iiAICAIaguNG\nRhtRkAZZIkHcoqJso0ZMiEYTNTNGRBPjFiVoQH9kjDoZNcddQDMYETVxQRAVWdSwiGuMgCKy0wvQ\nXf3744rBpveuW1Vd/X6d00e7lvs8DXX49PO93/vcSGVlZSWSJCmuMpI9AUmS0pEBK0lSCAxYSZJC\nYMBKkhQCA1aSpBAYsJIkhcCAlSQpBAasJEkhMGAlSQqBAStJUggMWEmSQmDASpIUAgNWkqQQGLCS\nJIXAgJUkKQQGrCRJITBgJUkKgQErSVIIspI9AUnxUbKrhHe/fJdtO7YRiURold2Kw9sfTl40L9lT\nk1okA1ZqpiorK1m4ZiF3vnkncz+Zy9pta8mP5hMh8vXzJeUldNmnC4O/NZif9fkZxxxw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8DVlKL\n9f77MG8evPpqcLP0LVuCc7a5ucHG/YMGQZ8+0L9/EMRSQxiwkiSFwN/JJEkKgQErSVIIDFhJkkJg\nwEqSFAIDVpKkEBiwkiSFwICVJCkEBqwkSSEwYCVJCoEBK0lSCAxYSZJCYMBKkhQCA1aSpBAYsJIk\nhcCAlSQpBAasJEkhMGAlSQqBAStJUggMWEmSQmDASpIUAgNWkqQQGLCSJIXAgJUkKQQGrCRJITBg\nJUkKgQErSVIIDFhJkkJgwEqSFAIDVpKkEBiwkiSFwICVJCkEBqwkSSEwYCVJCsH/B4DuW7HRK7bj\nAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "#以下两句是显示中文的方法 windows\n",
    "# from pylab import *\n",
    "# mpl.rcParams['font.sans-serif'] = ['SimHei']   #有效的方法\n",
    "\n",
    "# mac 下\n",
    "from pylab import mpl\n",
    "mpl.rcParams['font.sans-serif']=['SimHei']\n",
    "\n",
    "import networkx as nx\n",
    "import matplotlib.pyplot as plt\n",
    "# 设置matplotlib正常显示中文,用黑体显示中文\n",
    "plt.rcParams['font.sans-serif']=['SimHei']  \n",
    "plt.rcParams['axes.unicode_minus']=False \n",
    "colors = ['red', 'green', 'blue', 'yellow']\n",
    "#有向图\n",
    "DG = nx.DiGraph()\n",
    "#一次性添加多节点，输入的格式为列表\n",
    "DG.add_nodes_from(['甘肃', '武威', '兰州', '张掖','凉州区'])\n",
    "#添加边，数据格式为列表\n",
    "DG.add_edges_from([('甘肃', '武威'), ('甘肃', '兰州'), ('甘肃','张掖'),('武威','凉州区')])\n",
    "#作图，设置节点名显示,节点大小，节点颜色\n",
    "nx.draw(DG,with_labels=True, node_size=900, node_color = colors)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
